Opened 13 years ago

Closed 13 years ago

#319 closed defect (fixed)

Car park sign position

Reported by: matthew-osm@… Owned by: crschmidt
Priority: minor Milestone:
Component: mapnik Version:
Keywords: Cc:


Can the "P" for parking symbol be moved to the centre of the area that defines them? Maybe the area could also be filled in (a very light grey, possibly?)


maybe a position of <average position of all nodes in the way> would be a good general approximation (bad for "C" shaped areas, of course, where the P would be outside the area; maybe there is a better algorithm)

Attachments (1)

osm2pgsql.patch (507 bytes) - added by crschmidt@… 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by crschmidt@…

The solution to this is to change osm2pgsql such that it notices ways which have an 'amenity' tag and turns them into polygons. patch incoming.

Changed 13 years ago by crschmidt@…

Attachment: osm2pgsql.patch added

comment:2 Changed 13 years ago by crschmidt@…

If a way has 'natural_' or 'amenity' tags, make it a polygon.

comment:3 Changed 13 years ago by jburgess@…

Resolution: fixed
Status: newclosed

Fixed in the latest osm2pgsql.c. I have added natural and amenity to the list of polygon tags.

Note: See TracTickets for help on using tickets.