[Mapserver-users] How to prevent user defined styling of WMS with SLD?

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Wed Jul 14 09:45:31 EDT 2004


> -----Original Message-----
> From: Norbert Thieme [mailto:norbert.thieme at ilmenau.baw.de] 
> Sent: Wednesday, July 14, 2004 09:21
> To: Kralidis,Tom [Burlington]
> Cc: mapserver
> Subject: Re: [Mapserver-users] How to prevent user defined 
> styling of WMS with SLD?
> 
> 
> Kralidis,Tom [Burlington] schrieb:
> > 
> >>-----Original Message-----
> >>From: mapserver-users-admin at lists.gis.umn.edu
> >>[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> >>Norbert Thieme
> >>Sent: Wednesday, July 14, 2004 08:48
> >>To: mapserver
> >>Subject: [Mapserver-users] How to prevent user defined 
> >>styling of WMS with SLD?
> >>
> >>
> >>Hi all.
> >>
> >>We have a special symbology for some maps and it should not
> >>be chnaged 
> >>but if we serve our data as WMS (server map) this would be 
> >>possible with 
> >>SLD. Am I correct? Can I prevent this? Or should the WMS be served 
> >>already as WMS (client map)?
> >>
> > 
> > 
> > Sounds like this should be a switch (--with-sld or 
> --without-sld) when 
> > building?
> > 
> > ..Tom
> > 
> > 
> > 
> >>Thanks in advance,
> >>Norbert
> >>_______________________________________________
> >>Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
> >>http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
> >>
> > 
> > 
> > 
> 
> This would be a possibilty but I hoped that I could add 
> something to the 
> metadata like perhaps '"wms_sld_enabled" "false"' or 
> something. I think 
> this would be better because so I don't need two versions of 
> mapserv if 
> I want some maps with sld alllowed and some not.
>

Right, however the WMS spec is such that a WMS is SLD enabled or not.

In WMS Capabilities XML, if value:

/WMT_MS_Capabilities/Capability/UserDefinedSymbolization/@SupportSLD = 1

Then ALL layers can be styled by SLD.
 
> Best regards,
> Norbert
> 




More information about the mapserver-users mailing list