-
Notifications
You must be signed in to change notification settings - Fork 120
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
Show more disputed lines for POV in low zooms #1970
Comments
Relevant code:
One way to do this is to split apart the disputed lines from the international boundary lines (this may need to be a little more sophisticated – for instance you could test if there is a fclass_xx that's not null):
|
This only should matter for the last 4 here:
|
Test in this tile at zoom 4:
Right now there are no features with This zoom 5 feature, with these attributes (modulo Because Natural Earth 1:50m has this disputed boundaries in it and Tilezen uses from zoom 2, 3, 4 this will work. The change would also set the min_zoom in the zoom 5 tiles from NE 1:10m to 1 as well, so you should also test that. Because the NE 1:110m doesn't include disputed boundary lines at all in the upstream data, this is not testable at zoom 0 and 1. If we need to fix this at those zooms, we need an upstream NE data fix. |
To solve "gaps" in the country boundary lines at low zooms sourced from Natural Earth, we need to be more liberal in NOT filtering by min_zoom all the time, just for that layer and features (
country
,disputed
,region
kinds in boundary layer).Per nvkelso/natural-earth-vector#301 (comment):
The simplest thing to do is in QGIS (and for vector tiles) is to always include features from the scalerank theme (so remove the
min_zoom
filters) as for default the currentmin_zoom
is ideal... but otherwise we'd need to include optionalmin_zoom_{pov}
for all the POV and there are an insane number of columns as it is.If we were to add various
min_zoom_{pov}
then downstream QGIS and vector tiles would need to take the minimummin_zoom_{pov}
for inclusion at that zoom... but that's not something QGIS's basic layer filters are setup for, and the layer styling is already pretty complicated as it is.The text was updated successfully, but these errors were encountered: