-
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
Further water layer name dropping at low zooms #1730
Comments
Doesn't look like this is on dev yet. |
That's weird. I was pretty sure we made the cut-off for this one, and I'm seeing the sort of things I'd expect on dev. For example, I just checked:
It's possible that there's some other example that I've missed, or a bug which is making it look like it's not on dev properly. If so, please share an example and I'll check it out. |
Here's what I see, using Bubble Wrap and the following local config (removes the any clause, too), using the dev server:
|
Ah, yes, I see what's going on. Sorry - my mistake. The polygons were getting their names stripped correctly, and that's what I was seeing in the tile and tests. However, there were additional label placement points generated from the lake boundaries which I hadn't accounted for in the test, and which Bubble Wrap was hiding client-side due to the area rules. I think the changes I'm proposing in #1805 should fix this. |
|
Following up from #1477 and https://github.com/tilezen/vector-datasource/pull/1714/files, and based on original zoom & area table in #1477 (comment).
We can drop even more water layer labels derived from polygons at zooms 0-5.
Zooms 6+ seems mostly okay. But I don't understand how that works... seems like we drop water labels based on a width / area treshhold – where does that happen?
But there's also funk with how the Natural Earth names are brought in at low zooms which make it look better than it should? Example at bottom.
Need to change so:
The original in https://github.com/tangrams/walkabout-style/blob/gh-pages/walkabout-style.yaml#L1258-L1279
Desired at zoom 4:
Present in v1.6c:
Desired at zoom 5:
Present in v1.6c:
Notice how there's no default name here, but there is
name:en
:6/40.772/-116.609
The text was updated successfully, but these errors were encountered: