[mapserver-users] GetCapabilities for a specific layer, not the entire mapfile?

Daniel Morissette dmorissette at mapgears.com
Thu Apr 17 11:01:51 PDT 2008


Armin Burger wrote:
> 
> This never worked for me. The only effect I noticed so far when setting 
> a layer's status to MS_DELETE was that it was not included in the map 
> when I write it out to a file with $map->save().
> 
> But these layers are still listed in the getCapabilities response, 

I just checked the code and you're right (I was wrong). I think this is 
a bug, the WMS/WFS/WCS GetCapabilities functions should not list layers 
with status MS_DELETE. I have filed a ticket about this:

   http://trac.osgeo.org/mapserver/ticket/2582#preview

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list