[mapserver-users] LABEL-formatting options

Stephan Holl stephan.holl at intevation.de
Tue Mar 9 08:54:05 EST 2010

Hello mapservers,

we are using MapServer for visualizing shapefiles with double entries

Mainly this are contour-lines from waterdepth. The double values have
32 decimal places and mapserver tries to render them _all_ along a
This does not look nice...

Is there an option to trim the values with a dedicated
mapfile-parameter, e.g. where a prinft-syntax can be used to format the

The shapefiles are generated automatically so adding another column with
trunc()ed or round()ed values is no option.

Are there any options to format label-values/strings? I have not found
anything in the docs.



Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100309/d60f34fb/signature.bin

More information about the mapserver-users mailing list