[mapserver-users] Limit of decimals number in cells of table

Brent Fraser bfraser at geoanalytic.com
Fri Mar 20 11:47:37 EDT 2009


I have a similar need.  I want to label my contours from a Float attribute in my shapefile dbf (actually 13,000 contour shapefiles).  Is there any way to do that (other than loading them into PostGIS)?

Thanks!
Brent Fraser
GeoAnalytic Inc.

Steve Lime wrote:
> You can use the [item ...] tag. For example,
> 
>   [item precision=2 name="someitemname"]
> 
> Steve
> 
>>>> On 3/20/2009 at 9:59 AM, in message
> <BLU102-W58CA0BD87C0B59C5B49EE3DF970 at phx.gbl>, Alberto Fernández
> Sánchez
> <djabex at hotmail.com> wrote:
> 
>> Hi friends,
>> It is possible to limit the decimals that appear in
>> the cells of the tables of my query template (Data of a map .shp)?
> For 
>> example: "93.120000" to "93.12".
>>
>> Thank to all
>>
>> Alberto.
>>
>> _________________________________________________________________
>> Llévate Messenger en el móvil a todas partes ¡Conéctate!
>> http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


More information about the mapserver-users mailing list