[mapserver-dev] WFS - numeric value truncated

Ian Walberg ian.walberg at airborne.aero
Mon Jun 13 05:09:16 PDT 2016


Can you please send an example or a link to where we can find the details.

I had a look around but cannot find anything.



From: Michael Smith [mailto:michael.smith.erdc at gmail.com]
Sent: Saturday, June 11, 2016 9:08 AM
To: Ian Walberg <ian.walberg at airborne.aero>
Cc: mapserver-dev at lists.osgeo.org
Subject: Re: [mapserver-dev] WFS - numeric value truncated

You should set a datatype at the metadata section of your layer. If auto doesn't work then you might need to set it just for the numeric fields.

Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers

On Jun 11, 2016, at 9:46 AM, Ian Walberg <ian.walberg at airborne.aero<mailto:ian.walberg at airborne.aero>> wrote:

Our WFS server setup is using a sqlite database and we are seeing any NUMERIC fields have their decimal places truncated, any VARCHAR fields work ok with all the decimal places retained.

We want to avoid changing he schema in the short term so are looking for a work around.

It does not look like adding a CAST to the SELECT in the DATA statement is supported, are the details of what keywords the mapserver SELECT supports?


mapserver-dev mailing list
mapserver-dev at lists.osgeo.org<mailto:mapserver-dev at lists.osgeo.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20160613/9ed4e829/attachment.html>

More information about the mapserver-dev mailing list