NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am looking to create a website that shows restaurants and bars close to a selected point. Can anyone point me to where to get started please?

asked 19 May '14, 20:11

GrahamI's gravatar image

GrahamI
913310
accept rate: 0%

edited 02 Jun '14, 15:15


I do not know how easy it is to integrate it into a JS framework like Leaflet, but likely you want to use Overpass API. See e.g. this answer.

permanent link

answered 20 May '14, 00:16

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

Thanks. That looks as though it might get me started. There seem to be a few APIs and it was getting confusing...

(20 May '14, 08:26) GrahamI

I've had a look at Overpass API and Overpass Turbo and I can use it to search for restaurants, bars, what-have-you; I have tried just about all the export options but I can't seem to find instructions for including the API and search query on my website. Am I missing something or is it just a standalone tool?

(02 Jun '14, 15:13) GrahamI
2

Does the source of e.g. http://overpass-api.de/query_form.html help?

(02 Jun '14, 15:31) SomeoneElse ♦
2

May this plugin for Leaflet, https://github.com/kartenkarsten/leaflet-layer-overpass, helps you. It allows you to create a layer from an Overpass query

(02 Jun '14, 16:50) escada
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:

×290
×8
×5
×1

question asked: 19 May '14, 20:11

question was seen: 6,566 times

last updated: 02 Jun '14, 16:50

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum