-
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
Remove early water labels #2003
Comments
We also want to fix the min_zoom of huge water features that pop in at zoom 8 from OSM, so they have more consistent min_zoom with what's in NE in previous zooms. One would think the transform in the first comment would fix that, but it doesn't seem to be working. Instead the basic areas > min_zoom from the polygons are carried forward to the label placement points. Both should be adjusted, though ideally the label placement ones also get applied. The min_zoom on OSM features is set there, and currently has a zoom 7 area threshold, but we need to extend that. The OSM data itself only comes in at zoom 8, per:
So it's okay to have smaller min_zooms in the data, it won't actually make those OSM features show up earlier. |
To promote more feature merging, we'll also want to drop names and many other properties from the water polygons (and sometimes lines) at low and mid-zooms before they are merged. |
Area filter something like:
|
PR is #2010. |
In #2010 because of:
and the way OSM tags water and Tilezen ETLs the tags, this results in too many water labels being removed. Related: if #984 were implemented then this problem would partly resolve itself. But we should consider a lower zoom number for This kind issue is listed as a gotcha in https://github.com/tilezen/vector-datasource/blob/5dfc1d1d697a648f846646a4a20596b2b98b19e6/docs/layers.md#water as a planned fix. There's a debate to be had if that would be a breaking change (even if planned since v1.0), so let's adjust the water zoom here only, then to #984 in the v2 milestone. |
Via #2047 |
Picking up from where #1477 leftoff... There are still a lot of water labels in the mid-zoom tiles.
This is controlled with this config:
Edit something like (adjusting low zooms and then moving others by a zoom to filter out along the way each zoom):
Then there are also removing line labels, which is controlled around, it should be done before label placements are generated:
For the following kinds:
Something like:
The text was updated successfully, but these errors were encountered: