[mapserver-users] How to format a GetfeatureInfoRequest results?

sulu andreas.siegel at vorarlberg.at
Mon Mar 14 06:13:48 PDT 2011


Hi.

I'm in search of information/tutorial on formatting GetfeatureInfoRequests
by using HTML-Templates.

As an example; assume there is an attibute "test" which may have some
content or may not.

As far as i know i can format the result in the Body-HTML-Template like
that:
[item name=test format=$value escape=none]

This works but i would like to add some logic in order to improve it a bit.

E.g. add an if clause that returns "n/a" if the attribute has no content or
turn it red if the value exceeds som threshold.


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-format-a-GetfeatureInfoRequest-results-tp6168987p6168987.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list