There are some tennis courts in my area that are on the roof of a building, and I’m not sure how to map this. Previously the courts were traced but not the building, and when I added the building (traced around the courts) it covered up the courts in the slippy map.
Is it correct to map the building, and the courts as separate areas within it, and tag the courts as location=roof? Are there any tricks to ensuring the courts are visible when this is rendered?
While there is some software which already supports location=roof, the standard style on osm.org is notoriously poor at handling vertically stacked features in a meaningful way. This affects rooftop features, indoor features, and anything else along those lines. I don’t think there’s a way to convince it to show courts above buildings without resorting to incorrect tagging designed to trick this particular renderer, so I’d encourage you to just map it correctly and hope that the developers will catch up.
There certainly is 2 feature request issues over at Streets.GL to get roof gardens, railings, pools, being treated on-top when the location=roof is affixed to an object. Tested today how to get railing showing on a roof and the only way with a roof at 8 meters high was to tag height=9+min_height=8 which produced
Yup, that’s been used extensively (by me) to establish one building(part) is on top of the other, some I’ve done had to go up to layer 3. The wait is on the feature request/bug be coded in (to SG).