Title: Message
On a normal MapServer CGI URL, I would suggest simply trying to add '&ctype=forest' to the end of your URL.
You are trying to do something different. You are trying to pass an _expression_ to a WMS server. I would guess that you can
accomplish the same effect by using aStyled Layer Descriptor (SLD). Take a look at http://mapserver.gis.umn.edu/docs/howto/sldhowto
David.
Hi,
LAYER
NAME 'covertypes'
...
CLASSITEM 'type'
CLASS # highlighted presentation
_expression_ '%ctype%'
...
END
CLASS # default presentation
...
END
ENDI would like to know if there is a way to specify the value of my '%ctype%' variable in a URL like this one :
http://myserver/mapserv.exe?map=mymapfile.map&Service=WMS&Version=1.0.0&Request=GetMap&Layers=mylayer1,mylayer2&SRS=epsg:xyz
Thanks.
Regards
__________________________________________
James
Léveillé
Intélec
Géomatique
420, boul. Charest Est
Bureau
400
Québec (QC), Canada
G1K 8M4
Intélec Géomatique:
418.687.5000
MTQ: 418.380.2005
(#227)