https://github.com/mapserver/mapserver/issues/4633
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-
boun...@lists.osgeo.org] On Behalf Of Kralidis,Tom [Ontario]
Sent: Thursday, April 11, 2013 17:53
To: mapserver-users@lists.osgeo.org; even.roua...@mines-paris.org
Subject: [mapserver-users] FW: GeoJSON OGR output with WFS data type
issue
Even: per below, do you want to PR this?
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
Kralidis,Tom [Ontario]
Sent: Thursday, April 11, 2013 17:49
To: Even Rouault; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GeoJSON OGR output with WFS data type
issue
-Original Message-
From: Even Rouault [mailto:even.roua...@mines-paris.org]
Sent: Thursday, April 11, 2013 15:33
To: mapserver-users@lists.osgeo.org
Cc: Kralidis,Tom [Ontario]
Subject: Re: [mapserver-users] GeoJSON OGR output with WFS data type
issue
Any suggestions are valued.
Try the attached patch (only compile tested by me).
I'm unsure if null values are well represented by empty strings by
MapServer
in the shape-values array, but I think so from my quick inspection
of
the
code (that's maybe unfortunate that there's no distinction between
unset/null
fields and empty strings)
Ultimately OGR_F_SetFieldString could ignore empty string passed for
setting
numeric fields, but that's probably the job of the client to *not*
call
SetFieldString when it doesn't intent to set a value.
Even: thanks for this. Works as expected.
Thanks
..Tom
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users