<br><font size=2 face="sans-serif">Yes it works when I launch the request
with </font><font size=3 face="Arial">&amp;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">&amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE1&amp;map.layer[RSS_MPOC].class[classe2_sign]=TITLE+NEWTITLE2....</font>
<br>
<br><font size=3 face="Arial">using runtime substition would give ...&amp;classename1=NEWTITLE1&amp;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>&quot;Lime, Steve D (DNR)&quot;
&lt;Steve.Lime@state.mn.us&gt;@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">&quot;Steve.Toutant@inspq.qc.ca&quot;
&lt;Steve.Toutant@inspq.qc.ca&gt;, &quot;mapserver-users@lists.osgeo.org&quot;
&lt;mapserver-users@lists.osgeo.org&gt;</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">&amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE
on to a GetLegendGraphic request? </font>
<br><font size=3 face="Arial">&nbsp;</font>
<br><font size=3 face="Arial">Supporting runtimes for name isn&#8217;t a technical
issue, just hasn&#8217;t been asked for&#8230;</font>
<br><font size=3 face="Arial">&nbsp;</font>
<br><font size=3 face="Arial">Steve</font>
<br><font size=3 color=#1f497d face="Calibri">&nbsp;</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">&nbsp;</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 &nbsp;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>
...&amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+'&gt;= 2.38 &lt;=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 &amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE
as a parameter to the GetLegendGraphic &nbsp;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>