[gdal-dev] Feature (geometry and attributes) to GeoJSON

Baker, Anthony W Anthony.W.Baker at boeing.com
Tue Jul 9 10:58:00 PDT 2013


Thank you for your response!

Is it possible to use the json_object directly with something like 
       json_object *json = OGRGeoJSONWriteFeature(poFeature);
Then just convert that to string?

I seem to get an error in json_object.h when I try this method with "boolean redefinition".

Anthony 


More information about the gdal-dev mailing list