Those raster attributes are constructed before they are passed to the template 
so the value list is not a number anymore but rather a delimited string. 
However, you can process the values independently like so:

  [item name="value_0" precision="2"],[item name="value_1" precision="2"],[item 
name="value_2" precision="2"]

Etc...

Steve

-----Original Message-----
From: mapserver-users [mailto:[email protected]] On 
Behalf Of aborruso
Sent: Thursday, February 02, 2017 2:39 AM
To: [email protected]
Subject: [mapserver-users] Set value_list precision in raster query template

Hi,
I have created a query template and I use [value_list] to read pixel values.

I would like to set precision to 2, but when I set [value_list precision=2]
I do not have any more the pixel values but the string "[value_list
precision=2]".

How to set precision in raster query template?

Thank you



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Set-value-list-precision-in-raster-query-template-tp5305926.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to