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

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

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

Comments

@openstreetmap-trac
Copy link

Reporter: augustus.kling[at]gmail.com
[Submitted to the original trac issue database at 7.53am, Monday, 3rd August 2009]

The house number is not rendered for [http://www.openstreetmap.org/browse/way/26588046 this building]. I think (but don't know) the reason is as follows:[[BR]]

  • name and addr:housenumber are given, so Mapnik chooses to render name[[BR]]
  • name is to long to fit in the area of the building[[BR]]
  • name is not rendered therefore[[BR]]
    [[BR]]
    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.[[BR]]
    The described error only exists for zoom=17.
@openstreetmap-trac
Copy link
Author

Author: pinkduck[at]dsl.pipex.com
[Added to the original trac issue at 12.35pm, Wednesday, 12th August 2009]

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

@openstreetmap-trac
Copy link
Author

Author: augustus.kling[at]gmail.com
[Added to the original trac issue at 7.00am, Saturday, 22nd August 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: pinkduck[at]dsl.pipex.com
[Added to the original trac issue at 3.59pm, Sunday, 23rd August 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 11.41am, Saturday, 19th July 2014]

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

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