limiting significant digits on labels
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Fri Dec 15 15:07:31 PST 2006
My idea at the moment would be to extend the [item...] tag that already
is supported (see RFC 9)
so it can be used in the TEXT element of a class. Besides setting
significant digits you can also
commify numbers, and we could add to it. In the end you could do:
TEXT '[item name=area precision=2 commify=true] acres'
This would work for all providers.
Steve
>>> Tamas Szekeres <szekerest at GMAIL.COM> 12/15/2006 4:41:12 PM >>>
Jim,
This problem also applies to the OGR data provider and that's why the
following bug:
http://bugzilla.remotesensing.org/show_bug.cgi?id=1053
was posted.
Best Regards,
Tamas Szekeres
2006/12/15, Jim Manning <jmanning at whsun1.wh.whoi.edu>:
> My numeric labels appear as, for example, "5.40000000000". How do I
> specify a format so they look like "5.4"?
> My first post ever to a listserv. I hope it is ok.
> -JiM.
>
More information about the MapServer-users
mailing list