Opened 12 years ago

Closed 12 years ago

#1225 closed defect (invalid)

Name of lake rendered outside lake boundary

Reported by: aroach@… Owned by: Tom Hughes
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:


The name of the lake in this map appears to be rendered at the centroid of the lake, but because of the lake's shape, the centroid lies outside the boundary of the lake. It may be appropriate to add some logic to ensure that the point where the name is rendered is interior to the object.

Change History (1)

comment:1 Changed 12 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

That's actually a problem with mapnik (the rendering toolkit we use) and not something we control directly. Mapnik doesn't currently have an intelligent text placement algorithm for areas (it does for points and lines) so it just puts it at the centroid.

Note: See TracTickets for help on using tickets.