Skip to content

Cities start displaying at zoom level 7, even though my style says minzoom = 4 #252

Answered by nvkelso
nielsbom asked this question in Q&A
Discussion options

You must be logged in to vote

If you change your style layer filter they will show up earlier, as there are lower zoom features available in the places mvt data layer.

Currently you're styling based on OSM place=* tags in the kind_detail Protomaps/Tilezen namespace which are only available at zoom 7+, but if you loosen the filter to be any kind = locality (which spans across city, town, and other values) then it'll work at low and high zooms.

For compatibility, probably all the lower zoom localities should have city backfilled into the kind_detail? Or whatever OSM has for that place versus Natural Earth? We do a partial data join now, we could expand that to include more properties.

But philosophically I would general…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nvkelso
Comment options

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

nvkelso Jun 3, 2024
Collaborator

@nvkelso
Comment options

nvkelso Jun 3, 2024
Collaborator

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