[mapserver-users] Labeling

Jay Kapalczynski jkapalczynski at ci.maple-grove.mn.us
Thu Mar 26 07:13:56 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090326/cb84827c/attachment.htm>


More information about the MapServer-users mailing list