This is currently not possible unfortunately. There is an enhancement
bug in bugzilla though, but it's been there for ages.
Bart
Angus Dickey wrote:
Hello list,
Does anyone know if you can define a layer in a mapfile but not have it
advertised via a wms GetCapabilities request? I have been looking through the
docs but can't find anything appropriate.
The reason I ask is I have raster indexes stored in postgis instead of a
shapefile so I need to include the layer in the mapfile but I don't want wms
clients to show them as an available layer.
Thanks for any help,
~Angus
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl