Hi Jeff,

Yes, Mapnik does not conform exactly to the SLD spec. AFAICT this does mean that if you want to keep style definitions archived for use with various rendering packages you'll be keeping separate xml for mapnik or hand converting.

I personally am trying to generate all my layer styles/rules with mapnik's python bindings. This is much more concise and powerful than hand coding XML and you can always use the save_map() function to write out the XML for safe keeping.

But, I'd be interested to hear if anyone has made efforts at translating between SLD and mapnik XML. Both OpenLayers and GeoServer/ GeoTools seem to be embracing SLD and interoperability with these packages would be extremely useful.

For further reading, I've noticed these posts in the past which relate to your question:

https://lists.berlios.de/pipermail/mapnik-users/2007-August/000419.html
http://sgillies.net/blog/170/sld-and-python/
http://sgillies.net/blog/169/mapnik-news/
http://lists.eogeo.org/pipermail/opensdi/2006-January/000305.html

-Dane


On Aug 5, 2008, at 6:58 AM, Jeff Cooper wrote:

Hello all,
What support does mapnik have for SLD files? The mapnik configuration files I created about a year ago seem to resemble SLD, but don't match up exactly. I am looking to transitioning my GIS system to use SLD files, will I need a
separate set of files for mapnik?

Thanks,
--Jeff
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to