I'm struggling with text-placement: line; in Mapbox Studio. I'm fighting between 1 label being cut-off and 2 labels cutting each other off.
I'm trying to label fjords in Alaska. Originally, I had the line that followed the length of the fjords, but when I labeled them in Mapbox Studio the label repeated again and again. The fjords make a large Y shape so I broke up the lines into 3 legs roughly the length of the text I want to appear.
In one section the label goes from being cut-off to 2 labels cutting each other off.
I've tried tweaking 'text-character-spacing' and 'text-size' with no luck and I'm tempted to edit the lines in some way of getting the length just right, but it could take hours to tweak everything just right.
Easiest solution I think would be if you could force 1 label per segment but I can't find any documentation or examples of doing that.
Edit: I need to mention I've also tried 'text-repeat-distance' and 'text-min-distance' and they don't seem to do anything.
Edit 2: I created a gist in case someone wanted to work with the data and test it out. Gist with link to data source and cartocss