Changeset: 40822789
added capital of ISO3166-1 territory = yes
Closed by geof1
Tags
created_by | iD 1.9.7 |
---|---|
host | https://www.openstreetmap.org/id |
imagery_used | Bing |
locale | hr |
Discussion
-
Comment from muralito
Hello geof1,
The keys ISO3166-1:alpha2 and capital_ISO3166-1 (that you are adding), are documented?
-
Comment from geof1
Hello,
they aren't documented. How can I do it?
The main administrative entities in OSM are referenced by ISO3166 standard (http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative). I want to make a world political map from OSM data and every capital city of an ISO3166 territory should have that attribute. I can't extract that information from existing tags. Where could I explain this?
Thanks in advance -
Comment from muralito
The data you are looking for is already in OSM. Every territory has (or should have) a relation which represent its boundaries, and its capital is the role "admin_centre".
Maybe you could ask in the forum and get other answers, but it seems to me that you are adding redundant data (and maybe not in the right elements).
-
Comment from muralito
You can document any tags in the wiki, but to start with new tags it's better ask for tagging advice in forum or mailing lists.
-
Comment from muralito
You can obtain the data with an overpass query like this http://overpass-turbo.eu/s/hop
or some specialized map like this https://osm.wno-edv-service.de/index.php/projekte/internationale-administrative-grenzen/boundaries-map-english-version
-
Comment from geof1
I have posted the topic "Extraction of the ISO3166-1 capital cities" on the forum, so you're invited to see it and discuss it.
-
Comment from muralito
Thanks, I saw it a few days ago, and I was just waiting to read what others contributors have to say, but it has been very quiet. :-( Let's continue in the forum.
Nodes (1)
Welcome to OpenStreetMap!
OpenStreetMap is a map of the world, created by people like you and free to use under an open license.
Hosting is supported by Fastly, OSMF corporate members, and other partners.
https://openstreetmap.org/copyright | https://openstreetmap.org |
Copyright OpenStreetMap and contributors, under an open license |