Ack! Labelling numeric fields bug.

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Tue May 1 20:32:17 EDT 2007


I have a shapefile, actually 10s of thousands of shapefiles that have 
contour lines and I want to label them. The problem is that they are 
defined as:

15.     ELEVATION       N       31      15

and when a use this field to label my map, mapserver zero fills the 
field out to 15 digits of zeros!!! So a value of 10 in the field gets 
labeled as 10.000000000000000

I think this is a little extreme! :) OK, it is kind of cool to see these 
long snakes follow the contour if I use ANGLE FOLLOW.

I will open a bug for this, but any thoughts in a short term work around?

-Steve W



More information about the mapserver-users mailing list