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

Hello,

how How to link two buildings together ? I added Hotel Sagittario but a second closed building is also part of this hotel.

Thanks for help or clue. Bruno

asked 19 May '19, 20:05

bcostacurta's gravatar image

bcostacurta
11112
accept rate: 0%


For disparate items that belong to a single site a site relation may be used but as stated on the wiki page, if there is a clearly defined boundary for the hotel and all buildings/facilities for it is is more common to either use a simple outline for the area with the relevant tags or a multi polygon relation.

If possible, putting tourism=hotel on a closed way surrounding the whole hotel complex might be the simplest solution.

permanent link

answered 19 May '19, 22:42

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

edited 20 May '19, 08:17

  • If the hotel is primarily defined by the buildings themselves, add them to a multipolygon relation and put the hotel tags (tourism=hotel, name=*, contact info, etc.) on that relation. If the buildings share a single address, put the address tags on the relation as well.
  • If, in addition to the buildings, the hotel has grounds, gardens, pool, parking, etc, then better to surround the entire place with a polygon and add all the hotel tags to that. Adding area=yes will not be necessary in this case. And again, if the buildings share a single address, add it to the hotel polygon rather than to the individual buildings.

Avoid site relations; they're not well supported.

permanent link

answered 21 May '19, 21:35

jmapb's gravatar image

jmapb
3.4k73361
accept rate: 22%

Site relations might sound good for this but keep in mind that they're only visible in the data. They are neither rendered nor found by OpenStreetMap's search tool (also see Usage of type=site relations question on this site).

So, if the hotel complex can't be put in a single closed way or the hotel consists of only disparate buildings, using a multipolygon relation is a good solution as it is better supported by many tools. How to add a relation using JOSM is explained here.

permanent link

answered 20 May '19, 05:23

Privatemajory's gravatar image

Privatemajory
1.1k142233
accept rate: 23%

1

Mapping on the boundaries (whatever form they might take) is the preferred solution at this time, but whether something is rendered should not form the basis of tagging decisions.

(20 May '19, 08:16) InsertUser

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:

×252
×48

question asked: 19 May '19, 20:05

question was seen: 2,343 times

last updated: 21 May '19, 21:35

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