[mapserver-users] CLASS NAME Runtime substitution Variable

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu May 24 11:51:33 PDT 2012


Hi
My users will have the option to request a new map by changing YEAR. With 
Openlayers I use vendorParams to add new parameters in the getMap request. 
I use the YEAR parameters as a  Runtime substitution Variable for FILTER 
in the mapfile, pretty simple

My problem is for GetLegendGraphics because the class name will have to 
change on each request. I know that it is not possible yet to use Runtime 
substitution Variable on CLASS NAME. Is it because no one request for it 
or it is technically not possible?
The thread below discuss on using CLASS TITLE to do that
http://osgeo-org.1560.n6.nabble.com/runtime-substitution-class-name-td4228412.html

the GetLegendGraphic request look like
...&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+'>= 2.38 <=56'

If I need to use this technique how can I send 
&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE as a parameter to 
the GetLegendGraphic  request?
thanks
steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120524/ae7d6d23/attachment.html


More information about the mapserver-users mailing list