server-side SLD support

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Nov 1 10:48:38 EST 2006


Bart van den Eijnden (OSGIS) wrote:
> 
> Our plan is to add server-side SLD support to Mapserver WMS. This would
> involve adding a new keyword, for instance STYLEDLAYERDESCRIPTOR. It will
> add classes from the SLD document (matching the layer's name) to the LAYER.
> 

I like the idea in general.

A few questions/comments:

- How'bout a shorter keyword such as SLD instead of STYLEDLAYERDESCRIPTOR?

- What happens if you save a mapfile ($map->save()) that contains SLD 
definitions like this? Are they maintained in the saved mapfile or lost?

- Are there ways to get and set SLD's via MapScript and if yes how does 
that work? i.e. does MapScript turn the SLD into a set of classes right 
away, or is the SLD just a string member of layerObj... actually an 
array of strings... or sldObj's? um... fun questions to answer...

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the mapserver-dev mailing list