I am looking for a possibility to query for places like restaurants, pubs etc in the suroundings of a given address. Unfortunately I'm a bit confused about the Nominatim documentation: It is written that there are special keywords like pub or restaurant but I can not find how to actually use them. Can you help me and give an example how to find all restaurant 1km within a given address? Thanks! asked 22 Oct '16, 22:35 acgjheeb |
Here is an example query http://nominatim.openstreetmap.org/search.php?q=pubs+near+farm+road%2C+brighton&format=jsonv2 and https://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/EN lists the special phrases which are possible. You can't specify a radius, but a bounding box (&viewbox=...&bounded=1) limits the results to a bounding box. answered 24 Oct '16, 14:14 mtmail Thanks for your answer! Now I understand how the operator is meant to be used.
(05 Nov '16, 15:43)
acgjheeb
|
May be overpass-turbo is more suitable for your task? See https://help.openstreetmap.org/questions/20616/how-to-find-a-nearest-toilet-in-openstreetmap/20633