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

I don't need a map, or really show anything. All I need is the ability to put in my longitude and latitude (or address) and get the restaurants or food places in a range of some sort.

OpenStreetMap doesn't have all of the restaurants but it's something, and I'm going to also be allowing my users to enter addresses of things that aren't available and I'll be pushing it onto OpenStreetMap to fill it up more.

Think of something like what FourSquare does. Actually I noticed they used OpenStreetMap as well along with MapBox but when I search on their site, they have most of the places around me.

Is this possible? I've looked all around and I've found things like Google Places API and Here Maps API but they're both pretty expensive and I'm unable to save the data and do as I please (Add ratings and such). MapBox looks great but I think that's more for just creating maps and they don't have actual data on places.

If need be, I'm okay with hosting it on my own server since I assume it will be very small in size as I don't need any information other than the longitude and latitude and name of all the restaurants.

How will I grab just that info?

Thanks!

PS. If you know of a service that does this well, I'm all ears!

asked 05 May '18, 19:34

ButterScotchPudding's gravatar image

ButterScotch...
11112
accept rate: 0%

edited 05 May '18, 19:40


You may be best served with the overpass api (if you want to automate things), or overpass-turbo (wiki).

There are however lots of other ways of achieving the same thing.

permanent link

answered 05 May '18, 20:31

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 05 May '18, 20:34

Thanks! When you say other ways to achieve the same thing, do you mean other OpenStreetMap methods or through other third parties?

(05 May '18, 22:49) ButterScotch...

Other ways with OSM data, for example you could load it in to a spatial database (Postgres with Postgis for example) or extract them directly from OSM data or ...

(06 May '18, 09:03) SimonPoole ♦

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:

×362
×290
×9

question asked: 05 May '18, 19:34

question was seen: 11,661 times

last updated: 06 May '18, 09:03

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