Opened 10 years ago

Closed 10 years ago

#1560 closed defect (fixed)

Housenumbers not rendered when they are located very close

Reported by: Tracker Owned by: steve8@…
Priority: minor Milestone:
Component: mapnik Version:
Keywords: housenumber Cc:

Description

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.

Change History (4)

comment:1 Changed 10 years ago by Thomas Wood

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

comment:2 Changed 10 years ago by Tracker

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).

comment:3 Changed 10 years ago by jburgess777@…

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.

comment:4 Changed 10 years ago by Tracker

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.