dwins / mapnik2geotools

Using the Scala XML API to translate from Mapnik XML to GeoTools' SLD dialect
64 stars 22 forks source link

Support both mapnik2 and mapnik stylesheets #24

Closed dwins closed 12 years ago

dwins commented 13 years ago

For mapnik2, a lot of attributes were renamed to use "-" and some new attributes were added. But there are still mapnik stylesheets out there that haven't been updated to reflect that. It would be nice to support both types of mapnik style in mapnik2geotools.

dwins commented 12 years ago

I've added some support for changing the translation rules based on the Map element's minimum_version attribute. I think we're a long way from fully supporting the different structures, but it's probably better to use tickets for problems with individual types of element than lumping everything in here.