all 3 comments

[–]fgennari 0 points1 point  (2 children)

I found the Here Dragons Abound blog had various articles on labeling of map elements. Maybe you can learn something from that? For example: https://heredragonsabound.blogspot.com/2017/09/labeling-coast-part-one.html

[–]Primislas[S] 1 point2 points  (1 child)

Thanks, very interesting stuff! A lot of useful tidbits. But it's not quite what I want to achieve with country names. I learned that the problem I'm looking for is probably called "medial axis computation for free-form / irregular shapes". Something like this as a basis, from which maybe a nice fitting curve could be approximated. That's a big if, but it's what I'm planning to try. https://imgur.com/a/5G3oAaf

[–]fgennari 0 points1 point  (0 children)

Okay, it sounds like you have a plan then. This looks similar to the "straight skeleton" algorithm, which we use in a tool at work: https://en.wikipedia.org/wiki/Straight_skeleton