[Mapserver-users] WMS LAYERS=
Julien, Heryk
hjulien at nrcan.gc.ca
Mon Jan 12 14:15:49 PST 2004
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 at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca]
Envoyé : Monday, January 12, 2004 4:32 PM
À : hjulien at nrcan.gc.ca
Cc : mapserver-users at 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 at nrcan.gc.ca]
Envoyé : Monday, January 12, 2004 4:00 PM
À : 'nicolas.fortin at 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 at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] Envoyé :
Monday, January 12, 2004 3:30 PM À : mapserver-users at 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 at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list