[mapserver-users] featureInfo data mapping
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Mon Jan 20 07:50:58 PST 2014
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-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of martijnvdp [martijn at weer.nl]
Sent: Monday, January 20, 2014 9:01 AM
To: mapserver-users at 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 at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list