[Mapserver-users] WMS LAYERS=

Julien, Heryk hjulien@nrcan.gc.ca
Mon, 12 Jan 2004 17:15:49 -0500


Salut Nick,

I did a couple of tests and I'm also having weird behaviors with the
layering order of points, lines and polygons.

The only way I can correctly order my layers is to set them all to OFF (or
to ON) and respect the following layering order in the mapfile: Polygons
first, lines second and points last. No layers are set to default!

I think you could also make more the one WMS call for each layer and order
them as you wish but the final map resolution would probably not be as good.

Bonne chance!
Héryk

-----Message d'origine-----
De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca]
Envoyé : Monday, January 12, 2004 4:32 PM
À : hjulien@nrcan.gc.ca
Cc : mapserver-users@lists.gis.umn.edu
Objet : RE : [Mapserver-users] WMS LAYERS=



Hi Heryk,

Only the layer 1 is set to default, all other are set to OFF.  I thought
that doesn't matter in WMS cause you only got the layers you are querying.

I set layer 1 to ON and 
1- try LAYERS=2,1 and only got layer 2
2- try LAYERS=1 and got nothing

I set layer 1 to OFF (like the others) and 
1- try LAYERS=2,1 and only got layer 2
2- try LAYERS=1 and got nothing

Weird...
Nick

-----Message d'origine-----
De : Julien, Heryk [mailto:hjulien@nrcan.gc.ca] 
Envoyé : Monday, January 12, 2004 4:00 PM
À : 'nicolas.fortin@ec.gc.ca'
Objet : RE: [Mapserver-users] WMS LAYERS=


Hi,
Are your layers set to "default" in the mapfile? Is so, you will be calling
layers 1,2 and all the layers that are set to default! So your might be
calling layers 1 and 2 a second time around! Try setting them to "ON".

Bonne chance!
Héryk


-----Message d'origine-----
De : nicolas.fortin@ec.gc.ca [mailto:nicolas.fortin@ec.gc.ca] Envoyé :
Monday, January 12, 2004 3:30 PM À : mapserver-users@lists.gis.umn.edu Objet
: [Mapserver-users] WMS LAYERS=


Hi list,

When I make a WMS request with the layers parameters like LAYERS=2,1

In accordance to the OGC WMS Spec, layer 1 is suppose to be at the top of
layer 2 but it isn't the case...why??

Even if I change to LAYERS=1,2 ... no change

In the mapfile, layer 1 is at the end of the file and is always the top
layer on others applications using this mapfile.


Thx for your help,

Nicolas Fortin 
Mathématicien, Programmeur, Analyste de données 
SMC-Québec Hydrologie, Environnement Canada 
1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5 
(418)648-2516 
nicolas.fortin@ec.gc.ca <mailto:nicolas.fortin@ec.gc.ca> 

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users