Hello everyone, How can I find municipalities using nominatim search? I have my working software but I cannot find this information, that is the most important in this project. I can explain it better with an example: using "https://nominatim.openstreetmap.org/search.php?format=geojson&countrycodes=it&addressdetails=1&namedetails=1&bounded=0&limit=10&dedupe=1&q=San+Potito+RA" I'm able to find a village, that is under the municipality of "Lugo". How can I automatically find Lugo with a query? Thanks in advance asked 28 Jul '19, 16:09 Filippo |
I replaced "San Potito" with Lugo in your query and got an answer. Did you try that? Or was the result not what you expected? answered 30 Jul '19, 04:15 escada |
Thank you for your reply, escada. I do not need to find "San Potito" or "Lugo", I need to find their relation because San Potito is under the municipality of Lugo. Here it is the search using Nominatim. As you can see, it doesn't explicity show more than "County", that is a useless data in Italy. If you look better, you can see "relation 43140" written in light grey. I need this data, but it isn't shown in the output format I need, such as JSON, GEOCODEJSON or GEOJSON. answered 30 Jul '19, 06:26 Filippo |