[mapserver-users] Displaying identify results properly precisionand scale
Steve Lime
Steve.Lime at dnr.state.mn.us
Thu Jul 24 15:05:35 PDT 2008
I'm not sure how geomose generates those results but I would imagine it's through templates.
If so, then you can use the item tag to control precision. If the column is area then the tag
would look like:
[item name="area" precision=2]
or something along those lines.
Steve
>>> On 7/24/2008 at 2:39 PM, in message
<3D56274B4A7874468F58FADDBFD0980105EADB5E at llmhs02.r8nssis.local>, "Mark Volz"
<MarkVolz at co.lyon.mn.us> wrote:
> Hello,
>
> I am using Geomoose, which runs over mapserver. I am having issues with how
> the identify results display. The results are showing up in scientific
> notation eg acres = 1.5400000 e +002. I would the data to show up as 154.00
> Acres.
>
> I looked at another shapefile that is working and realized my issue is that
> the precision and scale are not set in my shapefile. I cannot change the
> precision and scale through esri because the attributes are joined from an
> access database.
>
> Anyways,
>
> Can I format the display of numbers directly within mapserver? If not, does
> anyone else have any other ideas?
>
>
>
>
>
> Mark Volz
>
> GIS Specialist
>
> Lyon County, MN
>
> (507) 532-8218
>
>
More information about the MapServer-users
mailing list