https://github.com/mapserver/mapserver/issues/4633
> -----Original Message----- > From: [email protected] [mailto:mapserver-users- > [email protected]] On Behalf Of Kralidis,Tom [Ontario] > Sent: Thursday, April 11, 2013 17:53 > To: [email protected]; [email protected] > Subject: [mapserver-users] FW: GeoJSON OGR output with WFS data type > issue > > > Even: per below, do you want to PR this? > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Kralidis,Tom [Ontario] > Sent: Thursday, April 11, 2013 17:49 > To: Even Rouault; [email protected] > Subject: Re: [mapserver-users] GeoJSON OGR output with WFS data type > issue > > > > -----Original Message----- > > From: Even Rouault [mailto:[email protected]] > > Sent: Thursday, April 11, 2013 15:33 > > To: [email protected] > > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
