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

Is it OK to have an amenity=parking inside, say an amenity=hospital area (where the outer area represents the hospital site, not just a single building)?

It feels wrong to have overlapping keys of the same type. But so does a multipolygon - the parking area IS part of the hospital.

I've come across this dialemma a few times (e.g. leisure=playground inside a leisure=park). Overlapping the areas seems to render OK but is it good practice?

asked 20 Apr '12, 11:24

Pete's gravatar image

Pete
41114
accept rate: 0%


There are instances where it's perfectly correct to have multiple overlapping areas, I think you've identified a couple of them. Carry on!

Where there comes a problem is if you try to have multiple values of the same key on the same node/way/area (aka "overload the key"). For example, if you put amenity=parking;hospital, what displayed would depend on how the renderer interprets that (would it display as parking? as hospital? as both? as neither?)

permanent link

answered 20 Apr '12, 15:58

neuhausr's gravatar image

neuhausr
7.5k870121
accept rate: 21%

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
×16
×13

question asked: 20 Apr '12, 11:24

question was seen: 3,761 times

last updated: 20 Apr '12, 15:58

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