[Geomoose-users] Format numeric query result

Dan Little danlittle at yahoo.com
Wed May 30 07:36:52 PDT 2012


Dates aren't handled well by MapServer.  Nor shapefiles.  You'll need to make sure there is a text field in your shapefile or database that formats the date as you'd like.




>________________________________
> From: Ed Boesenberg <boesiii at yahoo.com>
>To: "'Bistrais, Bob'" <Bob.Bistrais at maine.gov>; geomoose-users at lists.osgeo.org 
>Sent: Wednesday, May 30, 2012 7:11 AM
>Subject: Re: [Geomoose-users] Format numeric query result
> 
>
>Bob,
> 
>To format the double use: [item name=FIELD precision=0]
> 
>I am not sure about the date.
> 
>Ed
> 
>From:geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
>Sent: Tuesday, May 29, 2012 4:34 PM
>To: geomoose-users at lists.osgeo.org
>Subject: [Geomoose-users] Format numeric query result
> 
>I almost think this has been asked before, but can’t find anything in the archives.  When I query or Identify a layer, the numeric results are in an exponential or scientific format (or whatever it’s called), and dates are in a yyyymmdd format.  I’d like to format these results into something more user friendly.  I’m looking at the Identify.php, but haven’t figured it out yet.  Any suggestions?  If it makes a difference, the source data is shapefile, item types include double and date.  It looks like long integer types format correctly in my output.
>_______________________________________________
>Geomoose-users mailing list
>Geomoose-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120530/b3f60095/attachment.html>


More information about the Geomoose-users mailing list