Variable Substitution

Léveillé, James James.Leveille at MTQ.GOUV.QC.CA
Wed Aug 30 08:24:41 EDT 2006


Hi,
 
On the MapServer WebSite, there is an example on "Run-time Substitution"
(http://mapserver.gis.umn.edu/docs/howto/runsub/?searchterm=parameter) that
looks like this :
LAYER
  NAME 'covertypes'
  ...
  CLASSITEM 'type'
  CLASS # highlighted presentation
    EXPRESSION '%ctype%'
    ...
  END
  CLASS # default presentation
    ...
  END
END
I 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&Requ
est=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)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060830/024b60d9/attachment.html


More information about the mapserver-users mailing list