[Mapserver-users] preventing certain layers from appearing inthegetCapabilities doc?

Lowell Filak lfilak at medinaco.org
Thu Jun 12 09:03:13 PDT 2003


Daniel,
Thanks for the clarification, as this could "creating too much noise".
I originally had in my notes that DUMP FALSE only applied to WFS and not WMS, possibly that is where any other confusion may have started.
Lowell F

The following message was sent by Daniel Morissette <morissette at dmsolutions.ca> on Thu, 12 Jun 2003 11:51:23 -0400.

> Actually, during (and after) the OGC workshop at the MUM we talked about
> using the 'DUMP FALSE' flag to explicitly request specific layers to not
> be served via WMS with the default being to include all layers in WMS if
> the DUMP value is not set.  
> 
> However when I came to implement that yesterday I realized that this
> wouldn't work because the default value for DUMP is FALSE... so there is
> no way at the moment for MapServer to differenciate between a layer in
> which DUMP is explicitly set to FALSE or another one in which it is
> simply not specified.  And we cannot change the default to TRUE because
> that would make all layers available via WFS by default and we don't
> want that.
> 
> ... to avoid creating too much noise on this list, I have created a new
> bug where the possible options should be discussed:
> 
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=337
> 
> Daniel
> 
> 
> 
> Jean-Francois.Doyon at ccrs.nrcan.gc.ca wrote:
> > 
> > Yup, that is correct, right now, you can't hide a WMS layer in a given
> > mapfile, from showing up in GetCapabilities ... Weren't you paying attention
> > in our workshop debbie ? :)
> > 
> > I haven't checked, but I'd encourage you to file a feature enhancement into
> > the MapServer bugzilla about this if there isn't one already ... I could use
> > that feature too :)
> > 
> > Cheers,
> > J.F.
> > 
> > -----Original Message-----
> > From: Lowell Filak [mailto:lfilak at medinaco.org]
> > Sent: Wednesday, June 11, 2003 4:17 PM
> > To: Debbie Pagurek; mapserver-users at lists.gis.umn.edu
> > Subject: Re: [Mapserver-users] preventing certain layers from appearing
> > in thegetCapabilities doc?
> > 
> > If I recall a discussion from the User Meeting correctly, you will need to
> > use a different Mapfile to do that.
> > HTH
> > Lowell F.
> > 
> > The following message was sent by "Debbie Pagurek" <pagurekd at agr.gc.ca> on
> > Wed, 11 Jun 2003 13:49:05 -0400.
> > 
> > > Hi all,
> > > I have a mapfile that I am using for an web mapping interface, as well as
> > doubling as a WMS server.  There are layers used in the interface that I
> > don't want appearing in the getCapabilities document though and I thought I
> > could prevent them from appearing there by omitting the METADATA tags for
> > those layers, but that is not the case.  Is there a way to select which
> > layers in a mapfile should appear in a GetCapabilities document?
> > >
> > > Thanks,
> > > Debbie
> > >
> > >




More information about the MapServer-users mailing list