Hi all,
How can I find in OSM whose way belongs a gps coordinate? And the relations in which is this coordinate involved?
I need an OSM script query.
Thanks a lot!
Hi all,
How can I find in OSM whose way belongs a gps coordinate? And the relations in which is this coordinate involved?
I need an OSM script query.
Thanks a lot!
So you need “reverse geocoding”?
You can go to http://help.openstreetmap.org and do a search for “reverse geocoder” or gecoding … there have been some threads already.
I mean, if I have the latitude and the longitude of one node, how can I retrieve the correspondind way (street) from these given coordinates.
I need an OSM script for Overpass API Interpreter or some Java Code.
Do you want to have informations for a bunch of nodes where you are sure that they are element of a way? Or do you also include nodes that can be single POIs or similar?
Or do you need a query where a node is a child of an an existing parent (in this case a way) and you want to know what way is this parent?
If so, I only found https://help.openstreetmap.org/questions/13975/nodes-hierarchy
I solved the issue using Nominatim for the reverse geocoding:
latitude=…;
longitude=…;
http://nominatim.openstreetmap.org/reverse?format=xml&lat="+ latitude + “&lon=” + longitude+ "zoom=18&addressdetails=1