This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Grounds and buildings shared by multiple owners

2

Hi! I'm dealing with a grounds and building shared by a school and a hospital (i.e., some buildings on the grounds are exclusively occupied by the hospital; for shared buildings, school offices are on one floor while hospital occupies the other floors). Currently, outlines that exist are tagged as buildings in general; but separate points are present for each. How do I improve this? Thank you! :)

Here is the area: https://www.openstreetmap.org/#map=19/10.30772/123.89677

asked 26 Feb '15, 04:54

Mrv286's gravatar image

Mrv286
51113
accept rate: 0%

edited 28 Feb '15, 16:05

scai's gravatar image

scai ♦
33.3k21309459

2

Can you provide us a link to the area so that we can get a better idea of your problem?

(26 Feb '15, 07:47) scai ♦

Hi scai, I have already placed a link above. Thanks! :)

(05 Mar '15, 12:28) Mrv286

One Answer:

2

There are two solutions that come into my mind:

  • Areas: Instead of adding the school and hospital tags to the corresponding buildings you draw two areas. The areas should represent the outline of the school and the hospital, respectively. Parts of the areas will overlap which is fine in your case. Now just add the relevant tags to the areas (amenity, address etc.). The school wiki page has a nice example explaining how to create such an area.
  • Site relation: Instead of adding the school and hospital tags to the corresponding buildings you create two relations, one for the school and one for the hospital. Both relations will be tagged with type=site. Additionally they contain the school and hospital tags, respectively. Then add all the buildings belonging to the school (and possibly shared with the hospital) to the school site relation, and all the buildings belonging to the hospital (and possibly shared with the school) to the hospital site relation.

answered 28 Feb '15, 16:15

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

1

Thank you for your answer, scai! :)

(05 Mar '15, 12:27) Mrv286

Source code available on GitHub .