Openstreetmap-carto: Render names of building:part

Created on 22 Apr 2018  Â·  30Comments  Â·  Source: gravitystorm/openstreetmap-carto

I'm just having a german discussion here about tagging building parts as buildings to get the names of the parts displayed in OSM-carto because names of building:part which ain't buildings are not rendered.

Well I think it's right, the names of building:part should be rendered so I'd like to suggest this.
Maybe at a more detailed zoom level but buildings maybe smaller or lighter but the buildings name but it should be rendered I'd say.

buildings text

Most helpful comment

Yes of coarse,
my example was the university of Bielefeld. You can see the university and all "around" letters, in the east "A" and going north-western B-C-D-E (and F) and on the south side S-T-U (V) W. Very south-eastern there is "J".
Well this letters are the names of building parts because the whole thing is one building. The names are only displayed/rendered because the building:parts are tagged as buildings too, but this is semantically wrong. To have the names of the building parts displayed is the reason why Heros tagged them this way he/she told me.

This is my example.

I could also imagine castles or the like with building:part s named "west wing" or the like but I'd guess it's not very common to give (somehow official/documented) names to building parts. I estimate this maybe on administrative buildings or huge, somehow open/public buildings.

All 30 comments

Related to #2133 and probably a subset of #1857.

Maybe at a more detailed zoom level but buildings maybe smaller or lighter but the buildings name but it should be rendered I'd say.

This sentence is a little confusing and contains a lot of "but".
What I meant is this:

  • The name of building:part should be rendered
  • The name of building:part might be rendered smaller or lighter but the names of building
  • The name of buldilng:part might be only rendered in detailed zoom levels

Thanks for understanding me anyways XD

I'm not sure if this is good idea. Could you show some examples of building:part name which make sense without the outline?

Yes of coarse,
my example was the university of Bielefeld. You can see the university and all "around" letters, in the east "A" and going north-western B-C-D-E (and F) and on the south side S-T-U (V) W. Very south-eastern there is "J".
Well this letters are the names of building parts because the whole thing is one building. The names are only displayed/rendered because the building:parts are tagged as buildings too, but this is semantically wrong. To have the names of the building parts displayed is the reason why Heros tagged them this way he/she told me.

This is my example.

I could also imagine castles or the like with building:part s named "west wing" or the like but I'd guess it's not very common to give (somehow official/documented) names to building parts. I estimate this maybe on administrative buildings or huge, somehow open/public buildings.

Aren't they rather a ref than name?

Hmmm that's a very valid question.
To be honest: I don't know but I don't think so. I think name is the correct key here. But I will ask for other opinions.

I'm just testing the 'ref' with building part A.
I thing 'ref' is semantically OK because the name of the whole building, including the parts, is "University".
The different parts have more specific refs.

This scheme will work until a reason for a different name occurs, for example "Bielefeld University" and "University of applied sciences" in the same building.

So I would prefer this scheme for *:part objects:

  1. Render name if present
  2. Render ref if present but no name

Or: Introduce "*:part:name"

2018-07-23 8:46 GMT+02:00 dktue notifications@github.com:

I think rendering of building-parts is a good idea; consider the following
example:

[image: image]
https://user-images.githubusercontent.com/2878623/43061183-8b11fd98-8e54-11e8-8059-5764420afe72.png
https://www.openstreetmap.org/relation/5011450
https://www.openstreetmap.org/way/610116329
https://www.openstreetmap.org/way/343686293
https://www.openstreetmap.org/way/343686294
https://www.openstreetmap.org/way/343686295

—

IMHO in this case it is a mapping error, these are not building parts but
buildings (I happen to know the situation quite well personally), which
happen to be connected via overpasses. Generally I agree that rendering
names for building parts does make a lot of sense in some cases (those
where the mapper divided the building into logical parts according to the
function / structure and these parts are known under distinct names, and
less often in cases where the division was put solely with rendering of 3D
volumes in mind)

This comes up with universities and hospitals the most for me. I also believe the names should be displayed with building:part tags. If they have an amenity they already show but hospitals for example only have the one hospital tag and different chunks have different names.

An example building from my city is below. There is one large building complex with 2 hospitals and several sections that won't render such as the Center For Advanced Care and the Cancer Center. The hospitals are the only part with the amenity so the other parts don't display names.

screenshot from 2019-01-16 10-13-02

I believe in this case building:part name is not needed, all these parts are healthcare objects probably and should be tagged like that.

Good point @kocio-pl although the Pavilion section still would not display a name in that instance. I believe it's more of a resting place and connector. Not really healthcare related.

Maybe it is. I'd like to see some more examples where it's clear that:

  • name is a proper tagging (instead of ref)
  • building:part is a proper tagging (instead of building and instead of some POIs, like hospital clinic)

I looked around and I've changed my mind. I can't think of or find any instance around me that really needs building:part name to render as they can normally be properly tagged with something that displays it. The only place it's really an issue is with the non hospital section previously mentioned and universities in my area as department= doesn't currently render. But that's a separate issue.

One question I have is that buildings with names and no additional tags display the name so why shouldn't building:part= with a name do the same? A name wouldn't be added unless it is a place with an identifiable name.

building:part names are for building parts that have a distinct name, simple like this. Functions and users inside the buildings should go on their own objects and might have different names.

Sure, but how much of them are there with proper name?

Out of 820 576 only 15 896 has a name tag and I wonder how many of them are really properly named as parts of the building and something else:

https://taginfo.openstreetmap.org/keys/building%3Apart#combinations

I support rendering the names. I've found it's sometimes much more appropriate to put a name on a building:part when the whole building is operated by and named for one entity (say, a library) but some parts of it are older or specially built and have specific names that the entity uses in public communication. Making it a separate building and setting a tag like "operator" is potentially an option, but visually there is no indication of this tag either.

I have another example where building:part with a name makes sense. Park Lafayette Towers is a single apartment building with 2 towers and a shorter space in between. The towers are named 'North Tower' and 'South Tower'. These names are displayed on the exterior of the building.

The hospital example above fulfils the OSM criteria for separate, connected buildings. I.e., if you tear down one of the clinic buildings, the rest would stand alone.

sent from a phone

On 31. Mar 2019, at 11:11, polarbearing notifications@github.com wrote:

The hospital example above fulfils the OSM criteria for separate, connected buildings. I.e., if you tear down one of the clinic buildings, the rest would stand alone.

where do you have this from? AFAIK it was never a criterion for building vs building:part in OpenStreetMap and apart from this, it doesn’t make sense.
You can always tear down a part of a building and have another one still standing. There are also clearly different buildings which share a wall (literally), e.g. some medieval buildings, and while you could not construct a building like this nowadays (in many jurisdictions), they do exist, and you could not tear one building completely down and have the other one remaining standing.

Cheers, Martin

There are also clearly different buildings which share a wall (literally), e.g. some medieval buildings, and while you could not construct a building like this nowadays (in many jurisdictions), they do exist, and you could not tear one building completely down and have the other one remaining standing.

A lot of shopping centers in America are like that. They seem like one building, but the stores are actually in separate buildings that either share a wall or have an invisible to the outside world hallway between them. So one store can be destroyed and rebuilt if need be, without it affecting the other. They did that with a Sears in the mall near where I live recently.

I'm not in favor of this idea. The tag building:part is often used for 3D modeling of the building, by showing what parts of the building have a different number of levels or different roof style. This often does not match with named "wings" or sections of a building. In addition, many named parts of large buildings are interior rooms, rather than readily identifiable "parts" of the building from a structural perspective. I don't think it would be reasonable to render the names of internal corridors and rooms in this 2D map style. Finally, many of the examples shown so far could have been mapped either as separate buildings (which can share walls, as seen in row houses / terraced housing and many old city centres) or as separate POIs.

Am Di., 10. Sept. 2019 um 04:33 Uhr schrieb jeisenbe <
[email protected]>:

I'm not in favor of this idea. The tag building:part is often used for 3D
modeling of the building, by showing what parts of the building have a
different number of levels or different roof style. This often does not
match with named "wings" or sections of a building.

I don't see an issue here: if there is no name for the building:part that
applies to the OSM object then it shouldn't have a name tagged.

In addition, many named parts of large buildings are interior rooms,
rather than readily identifiable "parts" of the building from a structural
perspective. I don't think it would be reasonable to render the names of
internal corridors and rooms in this 2D map style.

depends on the zoom. You can make it depending on the size (or pixel size),
so that only things which matter at the given scale will have their name
render. A room can be an identifiable part from a structural perspective,
and it certainly is if you see "structure" not as load bearing thing but
regarding the division of space.

"A room can be an identifiable part from a structural perspective ... if you see "structure" not as load bearing thing but regarding the division of space."

Should rooms be tagged as building:part? There is also a more specific tag indoor=room used over 55k times on ways and relations: https://wiki.openstreetmap.org/wiki/Tag:indoor%3Droom

If we render names of building:part but not names of indoor=room this may encourage mappers to use building:part inappropriately.

Recall that the initial issue is that some mappers are (mis-)_"tagging building parts as buildings to get the names of the parts displayed in OSM-carto because names of building:part which ain't buildings are not rendered."_ - so it would not be good to create a new problem.

I'm not sure that even z20 is appropriate for rendering indoor=room features. At the equator a room needs to be 15 meters wide for a 100 pixel wide text label to fit at z20.

(And we only currently render to z19 in the main deployment of this map style on Openstreetmap.org, where 100 pixels = 30 meters at the equator.)

Currently 17,600 of 971,000 building:part features have a name tag: about 1.7%

Am Mi., 11. Sept. 2019 um 13:28 Uhr schrieb jeisenbe <
[email protected]>:

Should rooms be tagged as building:part? There is also a more specific
tag indoor=room used over 55k times on ways and relations:
https://wiki.openstreetmap.org/wiki/Tag:indoor%3Droom

generally the "building:part" tags are about "gross" building volumes,
while rooms are "net" building volumes (inner spaces), so the tag is not
suitable, I agree.

If we render names of building:part but not names of indoor=room this may
encourage mappers to use building:part inappropriately.

if we do not render building:part names some people will be encouraged to
map them as buildings. Rooms are typically smaller than building parts, and
more importantly, tend to overlap significantly (levels). For room labels
to make sense, we would have to render rooms in the first place. To render
rooms, we would have to produce horizontal sections of the building
(levels, ground plans). IMHO rooms are a different topic and we should not
sidetrack the discussion about building parts names to one about room
names.

Recall that the initial issue is that some mappers are (mis-)"tagging
building parts as buildings to get the names of the parts displayed in
OSM-carto because names of building:part which ain't buildings are not
rendered."
- so it would not be good to create a new problem.

Rooms and building parts are too different to be susceptible to this
problem, IMHO.

I'm not sure that even z20 is appropriate for rendering indoor=room
features. At the equator a room needs to be 15 meters wide for a 100 pixel
wide text label to fit at z20.

agreed

Rooms and building parts are too different to be susceptible to this problem

No tag is immune from tagging for the renderer. ;-)

In this case, the description= of building:part is _"To mark part of building, which has attributes, different from such ones at other parts"_, and the main wiki text says _"A way with the tag building:part=* describes a part of a building where some building attributes or the building function are different from the rest of the building."_

A "name=" is an attribute, and many rooms have special functions, so this could be seen as justification for mapping any named section of a building, including rooms, as building:part=. Perhaps the wiki page should be edited to clarify when indoor=room or indoor=corridor is appropriate instead.

Am Mi., 11. Sept. 2019 um 15:01 Uhr schrieb jeisenbe <
[email protected]>:

A "name=" is an attribute, and many rooms have special functions, so this
could be seen as justification for mapping any named section of a building,
including rooms, as building:part=. Perhaps the wiki page should be
edited to clarify when indoor=room or indoor=corridor is appropriate
instead.

I agree and have added something to the wiki

Closing for reasons mentioned above (https://github.com/gravitystorm/openstreetmap-carto/issues/3188#issuecomment-529742627 and https://github.com/gravitystorm/openstreetmap-carto/issues/3188#issuecomment-530339025): we do not render the names of indoor=room features, and rendering building:part names without indoor=room names could lead to mistagging.

Such features and building:part could be rendered together if z20 and perhaps z21 become routinely used in this style.

Was this page helpful?
0 / 5 - 0 ratings