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's gravatar image

acgjheeb
101338
accept rate: 0%

(01 Mar, 20:26) Mappist

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.

permanent link

answered 24 Oct '16, 14:14

mtmail's gravatar image

mtmail
2.6k644
accept rate: 26%

Thanks for your answer! Now I understand how the operator is meant to be used.

(05 Nov '16, 15:43) acgjheeb
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×550
×115

question asked: 22 Oct '16, 22:35

question was seen: 3,054 times

last updated: 01 Mar, 20:26

powered by OSQA