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 for country boundaries. #1809

Merged
merged 3 commits into from
Feb 1, 2019

Conversation

zerebubuth
Copy link
Member

@zerebubuth zerebubuth commented Jan 31, 2019

Adds alternate viewpoints about country boundaries following #1552. This means adding a kind:XX where a particular country has a different opinion about the kind of a boundary from the default. This should be used in the same way as name:XX translations. A new kind, unrecognized, indicates that the boundary should not be shown in that country's viewpoint.

Connects to #1552.

This brings in the Natural Earth v5.0-pre1 data, including the new disputed areas table, and feeds it through the YAML to assign kinds and `kind:XX` variants in the same manner as `name:XX` translations.

Also, fix up tests to use new tilequeue `Context` constructor.
yaml/boundaries.yaml Outdated Show resolved Hide resolved
@nvkelso nvkelso self-requested a review January 31, 2019 17:24
@nvkelso
Copy link
Member

nvkelso commented Jan 31, 2019

This looks good to me so far, just the one comment about min_zoom... and please add a test for the transform of say kind:in along the India, Pakistan border somewhere (on data fixture).

@zerebubuth
Copy link
Member Author

I've changed the min_zoom so that it comes from the NE data. Will add a test tomorrow. Otherwise, I think this is ready for review!

@zerebubuth zerebubuth changed the title WIP: Alternate viewpoints for country boundaries. Alternate viewpoints for country boundaries. Jan 31, 2019
@zerebubuth zerebubuth requested a review from rmarianski January 31, 2019 18:26
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 93c8117 into master Feb 1, 2019
@zerebubuth zerebubuth deleted the zerebubuth/1552-support-alternate-viewpoints branch February 1, 2019 12:32
zerebubuth added a commit that referenced this pull request Feb 4, 2019
zerebubuth added a commit that referenced this pull request Feb 6, 2019
@zerebubuth zerebubuth mentioned this pull request Feb 13, 2019
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.

3 participants