[OSM-talk] Overpass API - Fetching countries, their capitals, and their borders

wambacher at posteo.de wambacher at posteo.de
Wed Aug 14 06:58:54 UTC 2019


Hi Léo

Am 13.08.19 um 23:41 schrieb Léo El Amri via talk:
> Hello,
>
> I'm trying to fetch countries, their borders, and their capitals through
> Overpass API, but the server never replies to me ...

https://wambachers-osm.website/boundaries will give you the country
borders - including the *osm id of the admin center*, which is usually
the capital. In a second step you may download the capitals via overpass.

Better than nothing ;)

Regards
walter
-- 
My projects:

Admin Boundaries of the World <https://wambachers-osm.website/boundaries>
Missing Boundaries
<https://wambachers-osm.website/index.php/projekte/internationale-administrative-grenzen/missing-boundaries>
Emergency Map <https://wambachers-osm.website/emergency>
Postal Code Map (Germany only) <https://wambachers-osm.website/plz>
Fools (QA for zipcodes in Germany) <https://wambachers-osm.website/fools>
Postcode Boundaries of Germany <https://wambachers-osm.website/pcoundaries>
OSM Software Watchlist
<https://wambachers-osm.website/index.php/osm-software-watchlist>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20190814/6373f3e0/attachment.html>


More information about the talk mailing list