[mapserver-users] Labelling with real numbers

worjak jakob.worm at gmail.com
Mon Sep 7 17:22:21 EDT 2009


Hi,

I need to present numbers in a map that have the data type real (length=19,
Precision=8) by labeling a shapefile. It looks a kind off stupid with this
precision as the eg. 27.12 is represented as 27.12000000. So i'd like to
chop off some of the trailing zeros. I understand that mapserver can't do
this in current version.

So my question is - how can I do this in batch in pre processing? I receive
the shape files with this data definition as a daily dump, so manipulation
by hand is out off the question :(

Any suggestions are welcome.

Regards Jakob

http://n2.nabble.com/file/n3599499/label_real_number.png 
-- 
View this message in context: http://n2.nabble.com/Labelling-with-real-numbers-tp3599499p3599499.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list