[mapserver-users] FW: GeoJSON OGR output with WFS data type issue

Kralidis,Tom [Ontario] Tom.Kralidis at ec.gc.ca
Thu Apr 11 15:44:32 PDT 2013


https://github.com/mapserver/mapserver/issues/4633

> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
> bounces at lists.osgeo.org] On Behalf Of Kralidis,Tom [Ontario]
> Sent: Thursday, April 11, 2013 17:53
> To: mapserver-users at lists.osgeo.org; even.rouault at 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-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
> Kralidis,Tom [Ontario]
> Sent: Thursday, April 11, 2013 17:49
> To: Even Rouault; mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] GeoJSON OGR output with WFS data type
> issue
> 
> 
> > -----Original Message-----
> > From: Even Rouault [mailto:even.rouault at mines-paris.org]
> > Sent: Thursday, April 11, 2013 15:33
> > To: mapserver-users at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list