Re: [gdal-dev] Convert json point to OGRPoint

2015-12-11 Thread Mateusz Loskot
On 11 December 2015 at 12:04, Gane R wrote: > Q1. exportJson converts Geometry to Json, I am looking a function to convert > the json string to OGRPoint. C API function is named OGR_G_CreateGeometryFromJson > Q2. String returned by exportJson should be compulsorly freed using CPLFree > or will

[gdal-dev] Convert json point to OGRPoint

2015-12-11 Thread Gane R
Q1. exportJson converts Geometry to Json, I am looking a function to convert the json string to OGRPoint. Please suggest your suggestions. Q2. String returned by exportJson should be compulsorly freed using CPLFree or will be freed automatically. Thanks Gane _