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

Many restaurants have small pension attached to them. What is the reccomended way to map this?

asked 06 Jan '16, 12:44

gorn's gravatar image

gorn
542212537
accept rate: 11%

I think you may have meant "*many hotels have a small restaurant", instead of the other way around ;)

(06 Jan '16, 13:28) Piskvor

either way :)

(12 Jan '16, 01:01) gorn

If accesible by patrons that are not staying in the hotel, I usually simply create a node for both (hotel and restaurant).

permanent link

answered 06 Jan '16, 15:19

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

2

That also simplifies such stuff like opening_hours or stars or ... The other option, which I do not favour, would be to add a (imaginary) tag like restaurant=yes to the hotel object.

(06 Jan '16, 19:46) aseerel4c26 ♦
1

This is probably the most useful approach, as there might be multiple amenities inside the building which are open to the general public, even if they're all operated by the hotel (e.g. a bar, a restaurant and a fitness here: http://www.openstreetmap.org/node/3818622072 )

(07 Jan '16, 10:16) Piskvor

I do it this way as well, but it gets ugly results. There are two identically named nodes on map and in results of searches etc, and somethimes it looks like a duplicate. Also in some maps the names are not rendered at all, because there are so close to each other, that the rendered rather shows randomly one of the icons. I know that it is not good to map for renderer, but this is mapping AGAINS renderer, because it has no good way to understand that these are two identical amenities (except somehow guessing from proximity and identical names).

(12 Jan '16, 01:06) gorn

I see your point, and agree that the current usage is clumsy. Perhaps this could be solved by referencing each of the objects in a relation; however, the only similar suggestion that I have found is http://wiki.openstreetmap.org/wiki/Relations/Proposed/Operators , and that seems 1.not similar enough and 2.dead for some time :(

(12 Jan '16, 12:25) Piskvor

Unfortunately there is no 100% good way to do it. Probably the best is to add another node or way (or the building) beside where the hotel is. In essense treating them as 2 separate, but very close to each other, objects. You can add separate data for each one separately. They might have different websites, phone numbers, names etc.

permanent link

answered 07 Jan '16, 08:01

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

How about using both tourism=hotel and amenity=restaurant on the same node? It avoids having a duplicated name, IMO it's the best for simple cases. If more specific values are different between the hotel and restaurant (like opening hours or phone number) then create two nodes.

permanent link

answered 12 Jan '16, 14:06

freayd's gravatar image

freayd
116124
accept rate: 0%

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:

×17
×16
×15

question asked: 06 Jan '16, 12:44

question was seen: 5,471 times

last updated: 12 Jan '16, 14:06

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