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

Mapnik: Address displayed when name is available #2947

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

Mapnik: Address displayed when name is available #2947

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

Comments

@openstreetmap-trac
Copy link

Reporter: NobodysNightmare
[Submitted to the original trac issue database at 3.01pm, Sunday, 9th May 2010]

Hello.
In my town there are 2 schools (nodes) that are identically tagged (means they got the same tags with different content). But only one gets displayed on the map with its name, the other one is displayed as "housenumber".

For your reference:
http://www.openstreetmap.org/browse/node/604321070
http://www.openstreetmap.org/browse/node/428112529

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 10.28am, Monday, 10th May 2010]

I suspect what has happened is that the name couldn't be displayed (because it would clash with the road name) so there was then space for it to display the number.

In the other case there was space for the name so then when it came to display the number it couldn't because the name was in the way.

@openstreetmap-trac
Copy link
Author

Author: NobodysNightmare
[Added to the original trac issue at 10.32am, Monday, 10th May 2010]

The question is if it is a bug or a feature.
I guess I would prefer a name to be displayed, maybe with a small offset to fit.

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 3.30pm, Monday, 10th May 2010]

TomH is correct.

@openstreetmap-trac
Copy link
Author

Author: julianladisch
[Added to the original trac issue at 10.38am, Sunday, 20th October 2013]

Mapnik now renders "Oberschule J.H.A. Duncker" as name and not as housenumber:
http://www.openstreetmap.org/?mlat=52.6059&mlon=12.3366#map=16/52.6059/12.3366

Mapnik now renders "Frderschule J.H. Pestalozzi" as name and not as housenumber:
http://www.openstreetmap.org/?mlat=52.60846&mlon=12.33557#map=18/52.60846/12.33557

Problem is solved. (Might be a result of font size and/or line wrapping.)

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