[mapserver-users] On-the-fly field calculation in a GetFeatureInfo request

Abrabacabra abrabacabra at openmailbox.org
Wed Mar 15 19:25:41 PDT 2017


Hello,

Is it possible to do numeric calculations with the result of a 
GetFeatureInfo? Some layers have an area field in square meters but I 
want to display it to the user in acres or hectares. It would be nice 
not having to create a second attribute column in my source layer just 
for that.

I am using an html template at layer level to output the results of the 
query.
Mapserver 7.0.4

Thank you,


Patrice


More information about the mapserver-users mailing list