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.
PGMapCSS could change the geometric representation of an object, e.g.:
The main question is: how to define this alteration in the CSS file:
1) Treat geometry as property which is already pre-defined.
Not bad, but might be confusing (my favorite right now).
2) Treat geo as tag of the object
This would change the geometry for all pseudo elements, which might not be desired.
3) Special syntax, e.g.
I would be interested in your thoughts on this subject.