User talk:Jongleur/MultiLevel Building Shapes

From OpenStreetMap Wiki
Jump to navigation Jump to search

I find that scheme counter-intuitive for countries in which ground level is #1, not #0 - all buildings will either have building:ground_level tag or shifted min_level value, which will lead to errors. I propose to not depend on level numbering, and the following scheme looks more useful:

building:levels=10
building:skipped_levels=9

which clearly means that there's 1-level part standing on top of 9 levels of nothing. Alternative scheme:

building:levels=10
building:levels_span=1

but it looks less clear.

--AMDmi3 16:01, 8 January 2011 (UTC)

In fact the page seems to contradict itself; some parts talk about the "number of the level above the highest", yet elsewhere a two level building is said to have :levels=2" - could be clarified and crosschecked. IMO the numbering shouldn't depend on the numbers used inside the building, but only on the coordinate system, with the number as the (z) coordinate: at the origin there's always 0, one floor upwards is 1, and (mostly) the ground level is at the zero point. All buildings shouldn't have a building:ground_level=1 in countries that don't refer to the ground level as "floor 0". First think of a single floor building: it occupies the space from min_level=0 (default) to levels=1; the second floor starts at that coordinate, therefore when drawn separately, that's building:min_level=1, :levels=2. Your example starts at the ceiling of the ninth floor (of nothing), so it's :min_level=9, :levels=10. Alv 13:00, 13 February 2011 (UTC)

"building=yes"

In my opinion, a building part should not be tagged building=yes, instead that tag should be reserved to the generalized outline of the entire building. This outline would also contain everything that refers to the whole building, such as a name. There should be a separate tag for the individual parts, such as building_part=yes (or anything else really, I don't insist on this particular tag). --Tordanik 09:00, 11 February 2011 (UTC)

Glosm already uses building:part=yes for this purpose, but I am not sure if this tag is documented anywhere on wiki .... --Bilbo 19:09, 13 February 2011 (UTC)

comments

Note: there is alternative way to create the building mentioned in the example, with the resulting shape being basically the same:

+-------+---------------+------+
|       |               |      |
|       |               |      |
|   A   |       B       |  A   |
|       |               |      |
|       |               |      |
|       +---------------+      |
|       |               |      |
|       |               |      |
|       |               |      |
+-------+               +------+

A) building:levels=5, height=15

B) building:levels=5, height=15, building:min_level=2, min_height=6

Also, there is one more rendering software you have not mentioned: WikiProject Czechia/OpenKýbl3DMap - while the website where this is currently run is showing only Czech republic, the software is opensource, so anybody can run it with diferent parts of the planet.

--Bilbo 15:40, 11 February 2011 (UTC)