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

Don't render housenumber for POI nodes that usually aren't rendered #3371

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

Comments

@openstreetmap-trac
Copy link

Reporter: AD-530
[Submitted to the original trac issue database at 12.53am, Sunday, 5th December 2010]

Currently some POI nodes like amenity=doctors aren't rendered by mapnik. But if an addr:housenumber tag is attached too, the value is rendered by mapnik. This can lead to multiple occurences of the same housenumber on the map. An example can be found here: http://www.openstreetmap.org/?lat=51.484644&lon=11.944783&zoom=18&layers=M

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 4.50pm, Sunday, 5th December 2010]

I think the bug is here is putting in multiple objects for the same thing, and then attaching the house number to both of them.

If you've got the outline of the building then add amenity=doctor to that rather than adding a separate node and then duplicating the house number on that node and the outline.

There is, practically speaking, no way a renderer is every likely to avoid rendering the number multiple times if you have put it in multiple times and they are far enough apart to not clash.

@openstreetmap-trac
Copy link
Author

Author: josias
[Added to the original trac issue at 9.17am, Tuesday, 18th January 2011]

i don't thik this is the best solution...
there should be the housnumber at the POI, if you want to get the housnumbers of all Doctors.

it is a renderer-bug

@openstreetmap-trac
Copy link
Author

Author: Ldp
[Added to the original trac issue at 9.52pm, Thursday, 8th March 2012]

It is not a renderer bug. Nr 13 occurs twice in that building. It's in the data. It will get rendered.

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