[OpenLayers-Users] Styling geoJSON with SLD (ie convert SLD to stylemap)

Phil Scadden p.scadden at gns.cri.nz
Tue Oct 18 17:07:27 EDT 2011


Thanks Andreas, that does more or less work. Annoyingly, you cant fetch 
an SLD with a GET in Chrome - only by wrapping it a function call and 
doing script injection (as you have to do for geoJSON too). I think I 
will create a tool to read sld this way and serialise userStyle[0] for 
placement in a file. That way I can tweak some mismatches.

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list