Hi! I spent the last week hacking together a new project. It's an implementation of MapCSS for Mapnik, called PGMapCSS. Yet another? No. In contrast to other CSS implementations for Mapnik, PGMapCSS runs in the database and evaluates the CSS rules for every object. This makes more advanced checks and calculations possible; even geometric modifications are possible (though not implemented yet).
Mapnik just needs to read those values and render them. And this is currently the big limitation of this method: Mapnik can't use expressions for most of it's Symbolizer options (not even colors or rotation angles). (This is something that already annoyed me when I first started to use Mapnik in 2008 - see Mapnik issue #828). So, PGMapCSS is currently only a technological experiment. Though for a technological experiment it's already quite full-featured. And here is the precious link to the source and documentation: https://github.com/plepe/pgmapcss What you need: * PostgreSQL + PostGIS * osm2pgsql * Some way to render a mapnik file, e.g. mod_tile + renderd Check out the source, play with it, fork it, contribute back. Tell me what you think of it. There might still be a lot of bugs. greetings, Stephan -- Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich ,---------------------------------------------------------------------. | Stephan Bösch-Plepelits, | | Technische Universität Wien - Studien Informatik & Raumplanung | | Projects: | | > openstreetbrowser.org > couchsurfing.org > tubasis.at > bl.mud.at | | Contact: | | > Mail: [email protected] > Blog: plepe.at | | > Twitter: twitter.com/plepe > Jabber: [email protected] | `---------------------------------------------------------------------' _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

