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: [email protected] 
[[email protected]] on behalf of martijnvdp 
[[email protected]]
Sent: Monday, January 20, 2014 9:01 AM
To: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to