How can I find list of cities from OSM in particular state or country? Suppose I want to find all the cities in Gujarat state and bbox (boundry values) values of gujarat state can be found here http://nominatim.openstreetmap.org/search?q=gujarat&format=xml So now using overpass API, how can find the list of cities in Gujarat? Please write the query for me. Or tell me any other solution without overpass, if some better solution is available. asked 28 Jun '12, 08:36 Ravi Kotwani |
If you already have the bounding box from your Nominatim query, and if what you are looking for are nodes tagged
Note that Overpass expects the bbox as west,south,east,north whereas Nominatim outputs it as south,north,east,west. answered 28 Jun '12, 09:13 Frederik Ramm ♦ Thanks. I had already tried the same but I was writing the wrong sequence of bbox values. Thanks a lot. Its working find now.
(28 Jun '12, 09:50)
Ravi Kotwani
|