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

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

accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 20 Apr '12, 11:24

question was seen: 3,226 times

last updated: 20 Apr '12, 15:58

powered by OSQA