>
> Anthony
>
>
>
>
> -Original Message-
> From: Mateusz Loskot [mailto:mate...@loskot.net]
> Sent: Tuesday, July 09, 2013 2:17 PM
> To: Baker, Anthony W
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON
&g
-Original Message-
From: Mateusz Loskot [mailto:mate...@loskot.net]
Sent: Tuesday, July 09, 2013 2:17 PM
To: Baker, Anthony W
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Feature (geometry and attributes) to GeoJSON
On 9 July 2013 18:58, Baker, Anthony W wrote:
> Thank you for your respo
On 9 July 2013 18:58, Baker, Anthony W wrote:
> 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'm sure it is. You've got the source, you can in
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
_
On 8 July 2013 15:59, Baker, Anthony W wrote:
> I would like to export a single feature to GeoJSON format and have
> successfully used OGR_G_ExportToJson to convert the geometry to a character
> string GeoJSON format. Is there a similar function for converting a feature
> to a character string Ge
I would like to export a single feature to GeoJSON format and have successfully
used OGR_G_ExportToJson to convert the geometry to a character string GeoJSON
format. Is there a similar function for converting a feature to a character
string GeoJSON format (including geometry and attribute infor