Opened 8 years ago

Closed 6 years ago

#4765 closed enhancement (fixed)

building:part name rendered on border instead of center

Reported by: slavik.vladimir@… Owned by: mapnik-team@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: building:part, name, placement Cc:


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.


Change History (4)

comment:1 Changed 7 years ago by stefan@…

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 there’s 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. I’m 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 I’m not sure how to proceed, so this ends up on For my testsetup I would patch osm2psql to include the additional attributes, but is that the right approach?



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



comment:2 Changed 6 years ago by pnorman

The old openstreetmap.xml style (Mapnik component in trac) has been replaced by openstreetmap-carto, which has an issue tracker at

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

comment:3 Changed 6 years ago by slavik.vladimir@…

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.

comment:4 Changed 6 years ago by math1985

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.