When does a floor become a roof? Building "parts" and levels

I have been mapping heavily for a few months now but have confined myself to 2-dimensional mapping. I want to up my game and start mapping elements on various levels. I have read the wiki pages and thought I understood until I got into the real world and tried to apply what I read.

The building in question. Further down I link to photographs showing my confusion.

The building has 1 subterranean level (basement), therefore, building:levels:underground=1 So far so good.

Moving up from the basement, there are 2 “normal” levels. The ground level (level 0) has a cafe (There’s a node on the map for “Art’s Cafe” which should probably be merged into the building). The next floor up (level 1) has some private residences/apartments.

The next level up is interesting. I don’t know whether to tag as another level or as a roof. Maybe this is a good to use the building:part tag? Or maybe roof:levels=2?

This mystery level is named “The Green Roof.” And the elevator button is labelled “GR.” It is a flat roof, but partially enclosed in the middle. Inside the enclosure are some tables for sitting and drinking your coffee. There is also the elevator and staircase inside the enclosure, both of which give access to all floors below. You can walk out of the enclosure and walk among the gardens.

So for the building, we are dealing with 2 “roofs.” The roof you can walk around to enjoy the garden, and the roof on top of the enclosure that has no way to access it. How would we tag such a building?

Here are some photos of the problematic level. The Bing satellite photos also show the current configuration of this level where you can see the enclosure and the gardens. I included 2 photos outdoors on the roof from the front and back of the building, as well as a photo inside the enclosure. For the indoor photo, the door to the garden is on the left and the red doors on the right side are the elevator. In the lower-right corner you can see the railing for the staircase leading down.

If someone more experienced wants to add level and roof tags to the building, I will go back later and see how it’s done to learn from it. Aside from that, these are my questions:

  • Since the level above Level 1 is partially indoors, is it considered a roof or another level?
  • How many roofs?
  • Is this an appropriate place to use building:part=*?

Sorry, can’t help with regards to the roof etc but a couple of other comments.

The first thing to do is fix the alignment of all the buildings in the block! When you look at OpenStreetMap the current shapes are all over the place :face_with_crossed_out_eyes:

No, that would only be done if the business occupies the entire building, including, as here, all levels. Most of the time, it’s usually best to leave businesses tagged as a / multiple separate node/s, while the building outline has the address & actual building (levels etc) tagging on it.

The box on top of roof is a separate building:part=yes, building:levels=3, building:min_level=2, if building has any parts you need to cover whole building with parts, which means second building:part for base with building:levels=2, roof:shape=flat. The building itself should contain total amount of buildings:levels in this case 3.

roof:levels is for livable levels within roof (which is not flat). Often buildings with gabled roof or mansard roof contain one or even multiple additional floors, those would be counted in roof:levels. Wiki page for roof:levels have some examples of this.

Since you mentioned some seating on top of roof related to cafe, that can be tagged by adding outdoor_seating=roof on the same object as cafe. If there was something else on the roof it could be a bit messy there is location=roof which can be used for certain objects, but in some situations for proper handling in 2d and indoor contexts layer and level might also be necessary.

I am not aware of any tags for differentiating between regular flat roofs and ones which are easily accessible to people. Although most such roofs will have at least small part which has one more level for the elevator shaft or staircase. The ones which are only accessible through trapdoor are usually for service purpose only.

Stacking building parts vertically isn’t the only approach, it is also possible to have building parts side by side. In such case you wouldn’t use min_level. It depends on situation which one is cleaner and more logical.