<br><font size=2 face="sans-serif">Yes it works when I launch the request
with </font><font size=3 face="Arial">&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE</font>
<br><font size=2 face="sans-serif">The problem is I have several classes
to modify let say 10.</font>
<br><font size=2 face="sans-serif">That gives a long url, perhaps too long
for a GET request<br>
...</font><font size=3 face="Arial">&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE1&map.layer[RSS_MPOC].class[classe2_sign]=TITLE+NEWTITLE2....</font>
<br>
<br><font size=3 face="Arial">using runtime substition would give ...&classename1=NEWTITLE1&classename2=NEWTITLE2</font>
<br>
<br><font size=3 face="Arial">I will create a ticket asking for this feature</font>
<br><font size=3 face="Arial">thanks for your help,</font>
<br><font size=3 face="Arial">Steve</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Lime, Steve D (DNR)"
<Steve.Lime@state.mn.us>@lists.osgeo.org</b> </font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2012-05-25 14:42</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">"Steve.Toutant@inspq.qc.ca"
<Steve.Toutant@inspq.qc.ca>, "mapserver-users@lists.osgeo.org"
<mapserver-users@lists.osgeo.org></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">RE: [mapserver-users] CLASS NAME Runtime
substitution Variable</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=3 face="Calibri">Hi Steve: Have you tried just tagging </font><font size=3 face="Arial">&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE
on to a GetLegendGraphic request? </font>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial">Supporting runtimes for name isn’t a technical
issue, just hasn’t been asked for…</font>
<br><font size=3 face="Arial"> </font>
<br><font size=3 face="Arial">Steve</font>
<br><font size=3 color=#1f497d face="Calibri"> </font>
<br><font size=3 face="Tahoma"><b>From:</b> mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Steve.Toutant@inspq.qc.ca<b><br>
Sent:</b> Thursday, May 24, 2012 1:52 PM<b><br>
To:</b> mapserver-users@lists.osgeo.org<b><br>
Subject:</b> [mapserver-users] CLASS NAME Runtime substitution Variable
</font>
<br><font size=3 face="Times New Roman"> </font>
<p><font size=3 face="Arial">Hi</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
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</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
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?</font><font size=3 face="Times New Roman">
</font>
<p><font size=3 face="Arial">The thread below discuss on using CLASS TITLE
to do that</font><font size=3 face="Times New Roman"> </font><font size=3 color=blue face="Arial"><u><br>
</u></font><a href="http://osgeo-org.1560.n6.nabble.com/runtime-substitution-class-name-td4228412.html"><font size=3 color=blue face="Arial"><u>http://osgeo-org.1560.n6.nabble.com/runtime-substitution-class-name-td4228412.html</u></font></a><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
the GetLegendGraphic request look like</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
...&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+'>= 2.38 <=56'</font><font size=3 face="Times New Roman">
<br>
</font><font size=3 face="Arial"><br>
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?</font><font size=3 face="Times New Roman">
</font><font size=3 face="Arial"><br>
thanks</font><font size=3 face="Times New Roman"> </font><font size=3 face="Arial"><br>
steve</font><font size=3 face="Times New Roman"> </font><tt><font size=2>_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>