Ticket #1395 (closed defect: fixed)
[WMS Server] enable metadata to turn off SLD functionality
|Reported by:||tomkralidis||Owned by:||tomkralidis|
|Component:||WMS Server||Version:||svn-trunk (development)|
|Cc:||mapserverbugs, assefa, dmorissette, bartvde, jmckenna|
Description (last modified by dmorissette) (diff)
For WMS Server, I have had numerous requests/desires from stakeholders to have SLD functionality turned OFF. This is because some activities do not want their maps restyled by an arbitrary user SLD for whatever reason (lying with maps). I think this is a valid issue. I think an "sld_enabled" directive in the WEB/METADATA object would do the trick: "sld_enabled" "0" OR "sld_enabled" "1" If 1, then SLD is enabled. If 0, then SLD is turned off. If not specified in mapfile, then SLD is enabled.
Note: See TracTickets for help on using tickets.