WMS Request Question

Bart van den Eijnden bartvde at XS4ALL.NL
Mon Nov 22 11:29:05 PST 2004


With WMS the client determines which layers are on by specifying the
layer(s) it wants to see through the layers= parameter.

So layers=A,B means it wants layer A and B displayed.

Only exception is STATUS DEFAULT, which will always be on (for instance
for copyright annotation). In 4.4 a warning is generated in the
capabilities for this behaviour, to make sure the person who is setting up
the WMS knows for sure what he/she is doing when using STATUS DEFAULT.

Best regards,
Bart

On Mon, 22 Nov 2004 14:23:22 -0500, Tweedy, Scott <sctweedy at NRCAN.GC.CA>
wrote:

> I have a question about a WMS requestion respecting the STATUS parameter
> within a map file.
>
> I have a Mapfile that has numerous layers in it, some are initially
> turned
> on, some off using the STATUS object.  The Mapfile works fine if I call
> it
> through a webpage, but if I call it using a WMS request this STATUS
> object
> seems to get ignored and all layers are turned on.  Is this normal
> behaviour
> for Mapserver v. 4.3?  If so is there any way around it?
>
> st
>
> Scott Tweedy
> Geoscience Database Analyst - Analyste de base des données
> géoscientifiques
> ESS Geoinformatics Division - Division SST Géoinformatique
> Earth Sciences Sector - Secteur des sciences de la terre
> Natural Resources Canada - Ressources naturelles Canada
> 580-615 Booth Street - 580-615 rue Booth
> Ottawa, ON  Canada  K1A 0E9
> tel. (613) 947-0665 - tél. (613) 947-0665
> fax (613) 995-2520 - télc. (613) 995-2520
> Email sctweedy at nrcan.gc.ca - Courriel sctweedy at nrcan.gc.ca
>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the MapServer-users mailing list