-
Using the minimal style file below on Maputnik. (I removed all of the other layers of my map) As you can see the Why is this? I've seen PMTiles maps showing cities at higher zoomlevels, one example is the frontpage of https://docs.protomaps.com/ Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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 For compatibility, probably all the lower zoom localities should have But philosophically I would generally be trusting the tiles to show the right content (and we can modify them if there's a bug), and changing the icon and text styling based on another property – like the population rank (which has a higher fill rate and more consistent approach than OSM's place=* tag which varies widely between countries and even inside countries). To:
From:
|
Beta Was this translation helpful? Give feedback.
-
Ah that makes sense, got it working now. Thank you! Would it help if I open a PR against the basemap docs to make this clear(er) to others? Or is it better to reference how OSM does it? |
Beta Was this translation helpful? Give feedback.
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 thekind_detail
Protomaps/Tilezen namespace which are only available at zoom 7+, but if you loosen the filter to be anykind
=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 thekind_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…