I'm trying to get WKT polygons of cities and countries from Nominatim (for example, Paris and France). I send a GET request but it returns me several results named "Paris". How may I narrow results only to the capital. Here's my request url: http://nominatim.openstreetmap.org/search/fr/paris?format=json&polygon_geojson=1 And I get an array of 10 objects, only one is the capital,
The rest are:
How to select only the desired city and only the desired country ignoring rest of results? asked 08 Nov '13, 16:10 green10701 |
There's probably no guaranteed way to do this but several things that can help: answered 09 Nov '13, 15:01 Frederik Ramm ♦ Apparently the
(16 Sep '22, 05:22)
cyberixae
|