Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird regions hoping on zoom level 5 #21

Closed
xkomczax opened this issue Jan 17, 2019 · 2 comments
Closed

Weird regions hoping on zoom level 5 #21

xkomczax opened this issue Jan 17, 2019 · 2 comments

Comments

@xkomczax
Copy link

On zoom level 5, detailed region borders appears in many countries (e.g. Czech Republic, France, ...).
On zoom level 6, they disappear and instead superior regions boundaries appear (which are less detailed).
An example is visible on this map if you zoom in - instead of more details, you see less.

@pathmapper
Copy link
Contributor

These boundaries are not included in the tiles on zoom level 6,7,8 and therefore could not be displayed.

Example:
https://www.openstreetmap.org/relation/7394

OSM admin_level = 6
NE 4.0 scalerank = 5 (changed to 3 with NE 4.1)
NE 4.0 minzoom = 8

On zoom level 5, these borders are included in the tiles from natural earth:
https://github.com/openmaptiles/openmaptiles/blob/master/layers/boundary/boundary.sql#L62-L64

On zoom level 6,7,8 these are missing because only admin_level <= 4 are considered:
https://github.com/openmaptiles/openmaptiles/blob/master/layers/boundary/boundary.sql#L71-L90

Starting with zoom level = 9, these boundaries are included again in the tiles:
https://github.com/openmaptiles/openmaptiles/blob/master/layers/boundary/boundary.sql#L92-L97

@eva-j
Copy link
Collaborator

eva-j commented Nov 29, 2019

Solved in openmaptiles/openmaptiles#613, discussion about zoom levels 7 and 8 in openmaptiles/openmaptiles#617.

@eva-j eva-j closed this as completed Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants