During this version update I mostly concentrated on compatibility with JOSM, but there were also some major performance improvements. Also, Mapnik 3.0 support improved, as features were added in Mapnik source code. It is a huge update with more than 250 commits.
JOSM has many features beyond the MapCSS 0.2 specification. pgmapcss now supports most of those features, therefore you can render many JOSM styles with Mapnik. The most important changes: * You can use @media queries to skip certain style rules under specific conditions, most likely the currently used renderer. * Select objects (mostly ways) depending whether there’s right or left hand traffic in this region, either as pseudo class :righthandtraffic or eval function: is_right_hand_traffic(). * New properties, including: symbol-, repeat-image-, left-casing-, right-casing-, dashes-background-color, text-anchor-, icon-rotation, … * Additional condition selectors, including: truth/false value [tag?][tag?!], presence of tag by regular expression: [/^addr:/]. Pseudo classes like :tagged, :connected, …. Negate classes and pseudo classes: !.class, !:pseudo_class. * Link selectors: ∈, ∋, ⧉: within, surrounds, overlaps * Many new eval functions including trigonometric functions, color functions, … If you compile JOSM styles, you should pass the option --defaults josm, which changes default values and enables additional features. There were some more compiler arguments added, see pgmapcss --help for details. Also, pgmapcss got a blog: http://pgmapcss.openstreetbrowser.org/blog/ Find the source code at: https://github.com/plepe/pgmapcss 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] https://lists.openstreetmap.org/listinfo/dev

