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

Alternate viewpoints changes for RAWR tiles. #378

Merged
merged 1 commit into from
May 15, 2019

Conversation

zerebubuth
Copy link
Member

In tilezen/vector-datasource#1895, I added a little hack to work around the way we change the geometry type of boundaries layer features. They used to come entirely from the planet_osm_polygon table, but now we also include disputes and claims from planet_osm_line. However, we have to filter out a bunch of features from planet_osm_line that we don't want, but have the same tags as the polygons we do want.

Long story short: The query in vector-datasource sets this flag when transforming a polygon into a boundary line, so we have to do the same thing when reading from the RAWR tiles.

Connects to tilezen/vector-datasource#1810.

In tilezen/vector-datasource#1895, I added a little hack to work around the way we change the geometry type of `boundaries` layer features. They used to come entirely from the `planet_osm_polygon` table, but now we also include disputes and claims from `planet_osm_line`. However, we have to filter out a bunch of features from `planet_osm_line` that we don't want, but have the same tags as the polygons we do want.

Long story short: The query in `vector-datasource` sets this flag when transforming a polygon into a boundary line, so we have to do the same thing when reading from the RAWR tiles.
@zerebubuth zerebubuth requested a review from nvkelso May 13, 2019 16:28
Copy link
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zerebubuth zerebubuth merged commit 0163169 into master May 15, 2019
@nvkelso nvkelso deleted the zerebubuth/1810-alternate-viewpoints branch May 15, 2019 16:32
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

Successfully merging this pull request may close these issues.

2 participants