It is always an option to create a string column and then populate it
with your numbers formatted the way that you want them to appear. I am
sure that you realize this, but it is something that I have done in the
past.
David.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jay
Kapalczynski
Sent: Thursday, March 26, 2009 9:14 AM
To: '[email protected]'
Subject: [mapserver-users] Labeling
Is there any way to eliminate the decimal places here...I looked
online but was unable to find anything.
Thanks
The fields I am labeling are numeric...so I get this
3434.000000000000
1232222.000000000000
I am looking to drop all the extra decimal places...
Or maybe set it to keep two
3434.00
THANKS
LAYER # Maple Grove Parcels
NAME Parcel_Labels
DATA './parcels.shp'
STATUS DEFAULT
TYPE annotation
MAXSCALE 2000
MINSCALE 100
LABELITEM 'EMV_LAND'
LABELCACHE ON
CLASS
COLOR -1 -1 -1
LABEL
POSITION UC
TYPE TRUETYPE
FONT vera_sans
MAXSIZE 7
SIZE 7
OFFSET 0 10
MINSIZE 4
#ANTIALIAS TRUE
COLOR 0 0 0
OUTLINECOLOR 255 255 128
BUFFER 2
END
END
END # Maple Grove Parcels
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users