Thanks for taking such a close look at the examples. You’re right about the tagging issues: the inconsistently subtracted columns and the overlap between those two relations are simply my mistakes, and I’ll clean them up.
Let me explain how I arrived at the current approach, because I think it’s the root of what you’re describing.
Why the base level gets split. Simple Indoor has no dedicated feature for a floor opening or a double-height space, something like an indoor=void. The only tool the scheme offers for space spanning several levels is a level range (level=0;1). An atrium therefore ends up as a separate area on level 0, even when, as you say, it’s just part of the hallway down there. I agree that this split is artificial. It comes from a gap in the scheme, not from how the building is laid out.
Why I don’t infer a void from missing indoor features. It was my first idea too, but it breaks down quickly:
- Incomplete mapping. Most of the time, an unmapped part of a floor means nobody has mapped it yet, not that there’s a hole. A renderer that turns every gap into an opening would show holes all over partially mapped buildings.
- Ambiguity. Picture a building with a light well that starts above a solid ground floor (sketch attached). On level 1 and above, the absence of indoor features inside the well looks exactly like a double-height space over a ground-floor hall, or like a part of the floor that simply hasn’t been mapped yet. Simple 3D can tell them apart only if the building is modelled with
building:parts. If there is only a building outline, the data can’t tell you which case it is.
- Two schemes, no link. Simple 3D and Simple Indoor aren’t connected to each other, and where both are used on the same building I regularly see them contradict each other. So I’d rather not use the 3D shell as the source of truth for indoor voids either.
So I think a void has to be mapped explicitly, not inferred.
A possible explicit solution. The wiki describes indoor=level as the element that “describes the outline of the level”. If that outline is a multipolygon with an inner ring, the inner ring is a natural way to say “this level has no floor here”. That would solve your case neatly: the area below stays one coherent room or hallway, no level=0;1 atrium is needed just to express the opening, and a hole always means a hole, never just missing data. I haven’t implemented this yet, but I’d like to support it. What do you think? Does it match how you’d want to map shopping centres and stations?
On overlapping areas. As far as I can tell, Simple Indoor doesn’t forbid overlaps. The wiki only says that adjacent spaces should share nodes where they share a wall. I’m aware that “two spaces shouldn’t occupy the same area” is a common reading, but it isn’t written in the scheme. In the editor, I deliberately allow overlaps, and the smaller area is drawn on top of the larger one. I find this useful in a few situations:
- a tall multi-level space with separate galleries or mezzanines mapped inside it;
- a large shop floor with its departments, café, or checkout zones, which aren’t physically separated;
- a restaurant occupying half a floor, mapped once with its own attributes, with the guest rooms and staff-only rooms mapped inside it.
I know this isn’t everyone’s view, and I’m happy to discuss it. It’s similar to how overlapping parts are sometimes used in Simple 3D.
Next steps. This is one of several important questions I’d like to raise later in a separate thread, both about Simple Indoor itself and about how it fits together with Simple 3D. I haven’t settled on a clear position yet: I’m still studying real-world examples and trying out different approaches in the editor. Until then, any examples like yours, especially the tricky ones, are very welcome.