The templating supports some basic functionality like this, for example: [item name="foo" pattern="1" value="bar"]
so where foo=1 we see bar. If the pattern doesn't march nothing is output. You can have multiple occurrences to mimic an if-then-else construct. Steve ________________________________________ From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of martijnvdp [mart...@weer.nl] Sent: Monday, January 20, 2014 9:01 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] featureInfo data mapping Hi, I'd like to map the $value parameters to Strings in the feature info templates. Is there a way to get that done? For example, when $value == 1 I want to output 'bla' -- View this message in context: http://osgeo-org.1560.x6.nabble.com/featureInfo-data-mapping-tp5099014.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users