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

Zoom 17 missing some building parts #912

Closed
mjcunningham opened this issue Jul 20, 2016 · 5 comments
Closed

Zoom 17 missing some building parts #912

mjcunningham opened this issue Jul 20, 2016 · 5 comments
Assignees
Milestone

Comments

@mjcunningham
Copy link

Go to: http://tangrams.github.io/bubble-wrap/#18.87804/40.74546/-73.99049

Note bump on southern side of the building below the waldy's woodfire pizza label:

screen shot 2016-07-20 at 5 09 49 pm

Zoom out once: http://tangrams.github.io/bubble-wrap/#17.87804/40.74546/-73.99049

Note that the bump is gone:
screen shot 2016-07-20 at 5 11 37 pm

Zoom out again: http://tangrams.github.io/bubble-wrap/#16.87804/40.74546/-73.99049

The bump has returned.
screen shot 2016-07-20 at 5 12 15 pm

This happens on web and on ES

@rmarianski
Copy link
Member

This the osm way in question? http://www.openstreetmap.org/way/287494678

Possibly related to #653? Although, it does show up in the tile with a min_zoom of 16, assuming that is indeed the way.

Not sure why the bump would be disappearing at z17 and appearing at z16. I'd expect it to start showing at z17+ if anything. Could there be a rule on the styling side controlling that @nvkelso?

@zerebubuth
Copy link
Member

I've added a test for whether the data is present in the tiles, which passes. That suggests that @rmarianski is right and client-side filtering is playing a role.

I think it might be in the extrusion filtering, as there's a min-height rule at zoom 16, but no min-height rule at 17. This feature has a height of 111, so is included at 16, but the area and volume rules are not triggered at 17.

I think that's what's happening - if I'm understanding the rules correctly!

@rmarianski
Copy link
Member

And looking at the requests made out to the server, only requests for z16 are made and then they are "overzoomed".

@nvkelso
Copy link
Member

nvkelso commented Jul 22, 2016

From that chunk of code:

                    - { $zoom: [16], height: { min: 100 } }
                    - { $zoom: [16], area: { min: 3500 } }
                    - { $zoom: [16], volume: { min: 50000 } }
                    - { $zoom: [17], area: { min: 500 } }
                    - { $zoom: [17], volume: { min: 15000 } }
                    - { $zoom: { min: 18 } }

We think something like this needs to be added to zoom 17 filter set:

                    - { $zoom: [17], height: { min: 100 } }

@nvkelso
Copy link
Member

nvkelso commented Jul 26, 2016

Closing this in favor of tangrams/bubble-wrap#187.

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

4 participants