PGMapCSS is a library for PostgreSQL/PostGIS which works between an osm2pgsql based database and Mapnik (and maybe other renderers). It processes database (usually OpenStreetMap) objects according to MapCSS rules and calculates resulting colors, widths and other properties for Symbolizers, even geometric modifications.
[x] :closed: true for ways where the first node is the same as the last and for any multipolygon relation
[x] :connection: true for nodes that are used by more than one way
[x] :unconnected: true for nodes that are not used by any way
[x] :tagged: What JOSM considers tagged, i.e. an object that with a tag key other than the following: source_, source_ref, note, comment, converted_by, createdby, watch, fixme, FIXME, description, attribution
[x] :righthandtraffic: true if there is right-hand traffic at the current location
:closed
: true for ways where the first node is the same as the last and for any multipolygon relation:connection
: true for nodes that are used by more than one way:unconnected
: true for nodes that are not used by any way:tagged
: What JOSM considers tagged, i.e. an object that with a tag key other than the following: source_, source_ref, note, comment, converted_by, createdby, watch, fixme, FIXME, description, attribution:righthandtraffic
: true if there is right-hand traffic at the current location!:tagged
Will not support:
:new
: all new objects