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

Hi all,

What would be the best way to retrieve all the restaurants (or any other business type for that matter) in a specific area? The amenity=restaurant check does not appear to provide nowhere near all restaurants in a designated city, for example. Moreover, I have found an actual restaurant while looking for pubs and it had only the amenity=pub assigned to it.

Are there any nodes with multiple amenity types, for example amenity=restaurant;pub;cafe or they have to be retrieved by each amenity type separately? I have to mention that I looked separately for each of these amenities and for all results returned in each case all the nodes had a single amenity value.

Is there any other tag that could provide a node that is in fact a restaurant, but it does not have the proper amenity tag value?

Thanks in advance for any help.

asked 11 May '20, 10:28

razvan_bunea's gravatar image

razvan_bunea
26113
accept rate: 0%

(just as a pointer to help you explore while someone provides a full answer)

Have a look at "taginfo" - https://taginfo.openstreetmap.org/tags/amenity=pub%3Bbar shows there are a few with that combination. Use https://taginfo.openstreetmap.org/keys/amenity#values to exlore the other values (you can filter using the search box on the right)

(11 May '20, 11:36) SomeoneElse ♦

You mentioned nodes a few times - you should also check for ways and relations to find restaurants mapped as areas (you may already know that and have been using "nodes" loosely).

You could look for restaurant=yes, there are about 3000 of these mapped worldwide. They are likely to be business that mappers see as not primarily a restaurant but including one as part of the business - perhaps hotels or pubs, but I haven't actually checked this.

The dividing line between a restaurant and other businesses serving meals is not always clear, so certainly investigate amenity=cafe and amenity=pub as you mentioned, and also amenity=fast_food. Even amenity=bar may sometimes sell meals - in theory according to the wiki this tag should be used where the focus is on drinks, but there can be confusion on this point in countries where establishments with "Bar" in the name do serve light meals. Whether you want to count all of these may depend on what exactly you mean by "all restaurants".

permanent link

answered 11 May '20, 12:26

alan_gr's gravatar image

alan_gr
2.6k12245
accept rate: 15%

Thanks for all your answers. It seems though that Openstreetmap is not yet as complete as Google Places API. We will make the best of what it offers.

(12 May '20, 07:50) razvan_bunea

This will largely depend on the country and city you are looking at.

(12 May '20, 13:24) escada

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:

×94
×15

question asked: 11 May '20, 10:28

question was seen: 3,891 times

last updated: 12 May '20, 13:37

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