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

ignore admin_level on capital=yes places #2472

Closed
wants to merge 2 commits into from

Conversation

jojo4u
Copy link

@jojo4u jojo4u commented Nov 27, 2016

Fixes #2437.

@nebulon42
Copy link
Contributor

Before #2473 you also have to update project.mml. See https://github.com/gravitystorm/openstreetmap-carto/blob/master/CONTRIBUTING.md#editing-layers for details.

To review this I will update my low zoom test data so this could take a bit.

@jojo4u
Copy link
Author

jojo4u commented Dec 3, 2016

I added project.mml, thanks for reminder.

Question: I have a branch which builds upon changes of the simplify-capitals branch of this PR: https://github.com/jojo4u/openstreetmap-carto/tree/more-capitals

  • Should I do a PR to openstreetmap-carto/master which then includes the changes here and the additional ones?
  • Should I do PR to another branch?
  • Should I wait?

@kocio-pl
Copy link
Collaborator

kocio-pl commented Dec 3, 2016

I guess it depends on #2473, because it removes current MML file and replaces it with YAML data.

@nebulon42
Copy link
Contributor

@jojo4u I would suggest to wait. I'm hoping to do the review this weekend. Of the other options also the first one would be an option.

@nebulon42
Copy link
Contributor

I'm still seeing some capital=2 entries in the database (http://overpass-turbo.eu/s/ksN). At least one tagging mistake and some others legitimate. Especially interesting is Minsk (https://www.openstreetmap.org/node/26162465) which has been changed away from capital=yes.

Needing other maintainers opinion whether we might also want to include capital=2 as capital=yes might be ambiguous before merging.

@matthijsmelissen
Copy link
Collaborator

matthijsmelissen commented Dec 4, 2016

According to the wiki, admin_level=2 refers to country borders, and therefore capital=2 refers to a country capital, just like capital=yes. I don't see a difference between the two, and would be in favour of dropping support for one of them. Hopefully that would simplify the tagging situation, and also make life for other data consumers easier.

Montserrat and Torshavn either are or are not country capitals, having a special capital=2 tag for them doesn't help.

@nebulon42
Copy link
Contributor

nebulon42 commented Dec 4, 2016

@math1985 currently we do not support both (only capital=yes), so you would say there is no need to include capital=2?

I would be slightly in favour of capital=2 as it is more clear, but the reality speaks against that. :)

@matthijsmelissen
Copy link
Collaborator

matthijsmelissen commented Dec 4, 2016

I agree that would be more logical tagging, but switching to capital=2 would also require most data consumers to switch, so I don't think that's ideal.

@nebulon42
Copy link
Contributor

Merged manually, thanks.

@jojo4u
Copy link
Author

jojo4u commented Dec 4, 2016

The capital=2 was a test balloon by me for non-independent countries documented here: https://lists.openstreetmap.org/pipermail/tagging/2016-October/030343.html

For Minsk and Astana I added a changeset comment asking for explanation.
Jinotega was tagged wrong (is admin_level=4).

@jojo4u jojo4u deleted the simplify-capital branch December 4, 2016 22:21
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.

4 participants