This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Polygons of cities, regions, countries

0

How can I get polygons of all cities, regions, countries over the world? May be there some API query using the Overpass API? Or there are some database?

asked 26 Sep '19, 13:10

Nutsflush's gravatar image

Nutsflush
11112
accept rate: 0%


2 Answers:

1

https://wambachers-osm.website/boundaries/ allows you to download admin boundaries. I don't know whether it is the best way to download all admin boundaries.

answered 26 Sep '19, 15:50

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

0

If you don't need the full detail of OSM boundaries you could also look at https://www.naturalearthdata.com/ for country and region boundaries.

answered 27 Sep '19, 07:27

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

Source code available on GitHub .