[mapserver-dev] WFS - numeric value truncated

Michael Smith michael.smith.erdc at gmail.com
Sat Jun 11 09:08:09 PDT 2016

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> wrote:
> Hello,
> 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?
> Thanks
> Ian
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20160611/0fbc4555/attachment.html>

More information about the mapserver-dev mailing list