Cartagen is a framework for adding rich styles to map data, to produce better cartographics.
You utilize the GSS (geographic style sheet) spec to style map elements from OpenStreetMap data.