I've set up my own instance of Nominatim. Trying to to create a reverse geocoding query for the closest road/street to a coordinate but not sure how to. I've used the "around" query when using the OSM API but unable to do so on my own instance of Nominatim. asked 22 Feb '19, 08:15 hellu |
One Answer:
Use answered 22 Feb '19, 11:39 mtmail |
will try that thank you!
a follow up, im only looking for highway of type 'roads' and 'link roads' but this returns me 'pedestrian'. can I specify highway type?
highway=roads
"If you do know the road type, do not use this value, instead use one of the more specific highway=* values." https://wiki.openstreetmap.org/wiki/Key:highway Nominatim doesn't have tag filters in the reverse search. In the forwards search it would also only be able to filter one road type, not many.If you only care about specific highway tags, just filter out everything else before loading the data in to nominatim.