On 11 December 2015 at 12:04, Gane R <[email protected]> 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 be freed automatically. "The returned string should be freed with CPLFree() when no longer required." from OGR_G_ExportToJson documentation at http://www.gdal.org/ogr__api_8h.html Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
