This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to get way id from coordinates using Nominatim

0
1

Hello,

How can I get the "way id" from coordinates?

I tried with the reverse Nominatim function but it is not always precise.

For example: http://nominatim.openstreetmap.org/reverse?format=xml&lat=32.696534086349665&lon=35.14089007161053&zoom=18&osm_type=W&accept-language=en-EN

Here is the same in the search visual tool: http://nominatim.openstreetmap.org/details.php?place_id=26753712

The way id returned is not the same of the selected point.

Am I missing something? Is there a better way to get the way id?

asked 03 Mar '16, 13:46

CentroFranco's gravatar image

CentroFranco
11112
accept rate: 0%

1
(03 Mar '16, 17:15) stephan75

Source code available on GitHub .