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

Get point of interest (POI) through nominatim

0

Hi to all, Is it possible to get point of interest data from openstreetmap using nominatim?

asked 15 Dec '15, 09:19

Rajavelu_M's gravatar image

Rajavelu_M
253454858
accept rate: 33%

1

Yes and no. What kind of data are you looking for exactly?

(15 Dec '15, 13:38) scai ♦

@scai: i want to get hospitals/restaurants/theatres/etc for a particular region

(15 Dec '15, 20:25) Rajavelu_M

@rajavelu: is there a particular reason why you want to use nominatim?

(15 Dec '15, 21:45) aseerel4c26 ♦
1

@aseerel4c26: I am already using nominatim for get geocode&reverse geocode. So I expect any options to get poi data with same tool.

(15 Dec '15, 22:12) Rajavelu_M

One Answer:

3

Nominatim is a geocoder. It is designed to convert addresses into locations (geocoding) and locations back into addresses (reverse geocoding).

Nominatim can handle some basic POI searches via special keywords, like "bakery near Altstadt, Dresden". Yet there might be better suited tools for your job, like Overpass API where you can search for specific tags. See the language guide for various examples.

answered 16 Dec '15, 08:03

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

@scai: Thanks for your answer. I have osm_data (database & tables created through nominatim) in my server. Can I use same database for overpass api?

(16 Dec '15, 09:53) Rajavelu_M
2

No, Overpass API requires different data and performs different queries. Hence it needs its own database.

(16 Dec '15, 10:15) scai ♦

Source code available on GitHub .