[mapserver-users] numeric label without decimal ?

Tonton to.tonton at gmail.com
Fri Jun 4 09:05:30 EDT 2010


hello

i use shapefile  to render a map in wms layer.
it is working good but ...

the  column i use TXT  have number  ( 12 30 255 etc...)

so i see with 10 digits after the point ( 12.00000000  30.000000000
255.000000000 etc...)

if anybody know how to set that my label was text or integer and not decimal
? i haven't found it in mapserver documentation

Tonton

next the layer

LAYER
        NAME "LabelParcelle.shp"
        DATA "LabelParcelle.shp"
        TYPE POINT
        DEBUG 5
        DUMP TRUE
        LABELCACHE ON
        METADATA
        WMS_TITLE "LabelParcelle.shp"
        "WMS_SRS" "EPSG:27572"

        WFS_TITLE "LabelParcelle.shp"
        "WFS_SRS" "EPSG:27572"
        END
        LABELITEM TXT
CLASS
NAME "LabelParcelle.shp"
        STYLE
        SYMBOL 7
        SIZE 2
        OUTLINECOLOR 0 0 0
        COLOR 0 0 0
        END
        LABEL
        TYPE BITMAP
        POSITION AUTO
        SIZE MEDIUM
        COLOR 0 0 0
        End #LABEL
        END
END #Layer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100604/5df6842b/attachment.html


More information about the mapserver-users mailing list