Skip to content

Centroid coordinates for closed ways #689

Answered by systemed
BenOnTrack asked this question in Q&A
Discussion options

You must be logged in to vote

You can tell tilemaker to use Boost.Geometry's centroid algorithm rather than the Mapbox-originated polylabel one - see CONFIGURATION.md. But ultimately, I suspect the algorithms will always be slightly different between implementations so you won't necessarily get the exact same result.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@BenOnTrack
Comment options

@systemed
Comment options

Answer selected by BenOnTrack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants