Tools for mapnik xml style