[mapserver-users] How can I avoid long notation of double values in label or info template for shapes?

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Nov 23 06:46:53 PST 2012


On 12-11-23 10:25 AM, Astrid Emde wrote:
> Hi Lars,
> 
> again - thanks for your answer. I got a solution.
> 
> CONNECTIONTYPE OGR 
> CONNECTION "double_test.shp"
> DATA "Select *, J_2010_201*1 as newcolumn from double_test"
> 
> The function round(numbercolumn,2) was not found but with multiplication by 1 it works.
> 
> Astrid 

Hi Astrid,

Sounds like you found a nice item for a new MapServer wiki page in the
"Tricks, Tips, and HowTos" section (hint hint)
https://github.com/mapserver/mapserver/wiki

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the mapserver-users mailing list