Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

building:part name rendered on border instead of center #4765

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

building:part name rendered on border instead of center #4765

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: slavik.vladimir[at]seznam.cz
[Submitted to the original trac issue database at 10.39pm, Tuesday, 29th January 2013]

It seems that building:part=yes objects with a name=* get their name on border, which doesn't exactly work. The name should be placed inside the object (building part), as on whole buildings.

Example:
http://www.openstreetmap.org/?lat=49.227067&lon=16.57463&zoom=18&layers=M

@openstreetmap-trac
Copy link
Author

Author: stefan[at]mathphys.fsk.uni-heidelberg.de
[Added to the original trac issue at 9.20am, Saturday, 27th July 2013]

I know there is no final indoor way to map yet, but some schemes produce very bad results as of writing (e.g. [1]). I would simply hide the buildingpart/building:part names for now. I doubt theres a good way to render a multiple stories building properly in 2D with no level selector available.

I looked into this and found that the "roads-text-name" rule is used to render buildingpart-names. When the buildingpart-way is tagged with amenity, the name will get rendered as amenity. Im not sure about the latter because it might be used to highlight important parts. Then again, it can also be used to highlight restrooms -- which would be confusing again.

Anyway, in order to anything about this "buildingpart"[2], "building:part", "room"[4], maybe type(?)[5] would need to be either included in the extended attributes. All documentation I read is tailored towards setting Mapnik up locally, so Im not sure how to proceed, so this ends up on osm.org. For my testsetup I would patch osm2psql to include the additional attributes, but is that the right approach?

[1] http://openstreetmap.org/?lat=49.417913&lon=8.673363&zoom=18&layers=M

[2] http://wiki.openstreetmap.org/wiki/IndoorOSM#Modeling_the_different_building_parts

[3] (used in practice, not sure from which propsal it is)

[4] http://wiki.openstreetmap.org/wiki/Proposed_features/indoor#R.C3.A4ume

[5] http://wiki.openstreetmap.org/wiki/Termite#Indoor_Model

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 2.03am, Wednesday, 26th March 2014]

The old openstreetmap.xml style (Mapnik component in trac) has been replaced by openstreetmap-carto, which has an issue tracker at https://github.com/gravitystorm/openstreetmap-carto/issues.

This particular issue is dated with the more recent changes to catchall rendering, so it's not clear what remains an issue.

@openstreetmap-trac
Copy link
Author

Author: slavik.vladimir[at]seznam.cz
[Added to the original trac issue at 12.27pm, Wednesday, 26th March 2014]

In that case this can be closed with some apropriate status (as far as my opinion goes). I'll just remember to report once more in the other tracker if I run into this again.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 11.51pm, Monday, 7th April 2014]

This issue can be closed, given that we stopped rendering names of building:part...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant