How to implement geocoding using nominatim

rajmohan picture rajmohan · Sep 21, 2012 · Viewed 7.1k times · Source

Hi I am new to openstreet map and nomintim....I have found what I was looking for in the following link.....But I am not sure how to implement it...I just need to get the geocoding details like if we search a place I need to get the lat and long and also suggested more results like shown in the left column in the following example I don't want to plot it in a map.. Any help will be appreciated

http://nominatim.openstreetmap.org/search

Answer

Matt picture Matt · Sep 21, 2012

Have you searched first? The first result on Google:

http://wiki.openstreetmap.org/wiki/Nominatim

Try making your requests to this URL:

http://nominatim.openstreetmap.org/search?q=ADDRESS_HERE&format=XML/JSON/HTML

This has geocoding results in it.