Opened 10 years ago

Closed 5 years ago

#2127 closed enhancement (duplicate)

[buildings] House numbers nor names are rendered if long name is given

Reported by: augustus.kling@… Owned by: mapnik-team@…
Priority: trivial Milestone:
Component: mapnik Version:
Keywords: house numbers, name, building, area Cc:

Description

The house number is not rendered for this building. I think (but don't know) the reason is as follows:

  • name and addr:housenumber are given, so Mapnik chooses to render name
  • name is to long to fit in the area of the building
  • name is not rendered therefore


In this case Mapnik should choose to render the house number instead as it fits within the building's area and the name doesn't. Otherwise Mapnik should prefer the buildings name as it does on zoom=18 where the name fits within the building.
The described error only exists for zoom=17.

Change History (6)

comment:1 Changed 10 years ago by pinkduck@…

Can some consideration also be given to addr:housename (with precedence over addr:housenumber) if name is unset?

comment:2 Changed 10 years ago by Ldp

Owner: changed from steve8@… to mapnik-team@…

comment:3 Changed 10 years ago by augustus.kling@…

The originally described problem does not exist anymore. The house number is now rendered as expected for the provided example.

I do not know if house names have precedence over house numbers as the example does not have a addr:housename key.

comment:4 Changed 10 years ago by pinkduck@…

This house has both house number and name, and its number is currently shown in both Mapnik and Osmarender: http://www.openstreetmap.org/browse/way/30557082

This house has an identity plate on the gate listing both the number and the name: http://www.openstreetmap.org/browse/way/30781672

Royal Mail (the UK postal operator) lists both these addresses with the name component and without the house number, i.e. name taking precedence over number for addressing.

While numbers are smaller to render, I would prefer to see named houses by name.

comment:5 Changed 5 years ago by math1985

Summary: House numbers nor names are rendered if long name is given[buildings] House numbers nor names are rendered if long name is given

comment:6 Changed 5 years ago by math1985

Resolution: duplicate
Status: newclosed

This issue is now being discussed on Github: https://github.com/gravitystorm/openstreetmap-carto/issues/737 Therefore, I will close the issue here.

Note: See TracTickets for help on using tickets.