Yes it works when I launch the request with &map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE The problem is I have several classes to modify let say 10. That gives a long url, perhaps too long for a GET request ...&map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE 1&map.layer[RSS_MPOC].class[classe2_sign]=TITLE+NEWTITLE2....
using runtime substition would give ...&classename1=NEWTITLE1&classename2=NEWTITLE2 I will create a ticket asking for this feature thanks for your help, Steve "Lime, Steve D (DNR)" <[email protected]>@lists.osgeo.org Envoyé par : [email protected] 2012-05-25 14:42 A "[email protected]" <[email protected]>, "[email protected]" <[email protected]> cc Objet RE: [mapserver-users] CLASS NAME Runtime substitution Variable Hi Steve: Have you tried just tagging &map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE on to a GetLegendGraphic request? Supporting runtimes for name isn?t a technical issue, just hasn?t been asked for? Steve From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, May 24, 2012 1:52 PM To: [email protected] Subject: [mapserver-users] CLASS NAME Runtime substitution Variable 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 _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
