Opened 19 years ago

Last modified 15 years ago

#1395 closed defect

[WMS Server] enable metadata to turn off SLD functionality — at Initial Version

Reported by: tomkralidis Owned by: mapserverbugs
Priority: high Milestone: 6.0 release
Component: WMS Server Version: svn-trunk (development)
Severity: normal Keywords:
Cc: mapserverbugs, assefa, dmorissette, bartvde, jmckenna

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.