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 more contact information details via nominatim?

0

Hi,

I'm executing query: http://nominatim.openstreetmap.org/search?format=xml&city=Vilnius&country=Lithuania&addressdetails=1&amenity=cafe&addressdetails=1

I'm getting information about cafes. But I don't see any contact information such as web page, email or phone. Is it possible to get this information?

Thanks!

asked 30 Mar '13, 12:31

Emilis's gravatar image

Emilis
1111
accept rate: 0%

edited 30 Mar '13, 13:25

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


2 Answers:

2

Nominatim can only return information that's stored in the OSM database. In the case of the first cafe on the list, that information isn't stored. If you want OSM to know what each cafe's contact information is, you need to visit them, ask them what their contact information is and add it to OSM.

answered 30 Mar '13, 12:37

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Thank you!

(30 Mar '13, 12:46) Emilis

0

I would suggest a different approach:

  • start overpass-turbo
  • on the map, select the area you are interested in
  • hit "Run"

You will get all the cafes in the bounding box and can click on any of it to see all details.

And keep in mind: you will only get the information that was stored into the OSM database.

/al

answered 30 Mar '13, 15:29

_al's gravatar image

_al
86021018
accept rate: 4%

1

Thank you. So issue isn't the limitations of api, issue is lack of data in my country :)

(30 Mar '13, 16:15) Emilis

Source code available on GitHub .