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

Housenumbers not rendered when they are located very close #1560

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

Housenumbers not rendered when they are located very close #1560

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

Comments

@openstreetmap-trac
Copy link

Reporter: Tracker
[Submitted to the original trac issue database at 12.15pm, Friday, 6th February 2009]

Housenumbers don't get rendered when they are located very close.

Example:
http://www.openstreetmap.org/?lat=50.219753&lon=8.326946&zoom=18&layers=B000FFF

In osmarender the three houses in the middle are "6", "6a" and "6b"

In mapnik only "6" and "6b" are shown.

@openstreetmap-trac
Copy link
Author

Author: grand.edgemaster[at]gmail.com
[Added to the original trac issue at 4.46pm, Friday, 6th February 2009]

This is the standard mapnik collision handling, I don't think very much can be done about it.

@openstreetmap-trac
Copy link
Author

Author: Tracker
[Added to the original trac issue at 6.38pm, Friday, 6th February 2009]

Maybe it is possible to place each housenumber in the middle of the polygon (building).
Sometimes housenumbers seem to get placed at the edge of the polygon, in the example "6b" it is right in the middle between the two buildings "6a" and "6b". Also buildings that are not so close together have the housenumber on the edge or beyond (see housenumber 13 in the example).

@openstreetmap-trac
Copy link
Author

Author: jburgess777[at]googlemail.com
[Added to the original trac issue at 12.29am, Sunday, 8th February 2009]

There was a bug in Mapnik which caused slight errors in the placement of the text in small polygons. I've fixed this in mapnik svn 880 and the points should start appearing at the centroid of the polygon from now on. It may take about a week before all the tiles are rendered with this fix.

Where these labels are too close together you may still see some not being rendered.

@openstreetmap-trac
Copy link
Author

Author: Tracker
[Added to the original trac issue at 12.11am, Monday, 9th February 2009]

Thank you very much - the cases which i objected render perfect now.

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