How do I hide a layer from WMS GETCAPABILITIES XML?

Ed McNierney ed at TOPOZONE.COM
Fri Dec 17 07:37:05 PST 2004


Brent -

Using the GROUP statement to batch layers together will not prevent the
individual layers from being advertised in the GetCapabilities request.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242  

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Brent Fraser
Sent: Friday, December 17, 2004 10:34 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] How do I hide a layer from WMS
GETCAPABILITIES XML?

Bart,

   Thanks for the pointer to the bug report.  After reading the bug
info, it occurred to me that the whole architecture of:

        one-mapfile-layer =one-OWS-layer

might lead to some serious limitations in the future.  I need to look
through some old email on layer grouping, etc.

Thanks again,
Brent

----- Original Message -----
From: "Bart van den Eijnden" <bartvde at XS4ALL.NL>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Friday, December 17, 2004 2:03 AM
Subject: Re: [UMN_MAPSERVER-USERS] How do I hide a layer from WMS
GETCAPABILITIES XML?


> Hi,
>
> not possible yet.
>
> See:
>
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=337
>
> Best regards,
> Bart
>
> > I'm using the new TYPE TILEINDEX layer (pointed to by an indexed 
> > raster
> > layer) and I'd like to prevent this layer from being listed in the 
> > GETCAPABILITIES XML (and hence listed as a "valid" layer in various 
> > WMS clients).
> >
> > Any thoughts?
> >
> >
> > Windows2000, IIS 5.0
> > MapServer version 4.4.0  OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
> > OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
> > INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> >
> > Thanks!
> > Brent Fraser
> > GeoAnalytic Inc.
> > Tel:(403) 213-2700
> > bfraser at geoanalytic.com
> > www.geoanalytic.com



More information about the MapServer-users mailing list