[mapserver-users] How to select layers in Getmap

Christopher Schmidt crschmidt at metacarta.com
Wed Jun 4 07:48:03 EDT 2008


On Wed, Jun 04, 2008 at 01:45:42PM +0200, Gabriel Messner wrote:
> Hi all,
> 
> I´ve running a WMS server with Mapserver. When I execute GetMap selecting
> just one or two layers (&LAYERS=layer1,layer2) my WMS servers retreives all
> layers of the GetCapabilities document.
> 
> What i´m doing wrong?.


What is the "STATUS" of the layers in your mapfile? "ON" will let them
be requested -- "DEFAULT" will deliver them always, whether they are
requested or not.

REgards,
-- 
Christopher Schmidt
MetaCarta


More information about the mapserver-users mailing list