[gdal-dev] Changed API for exportToGEOS

Even Rouault even.rouault at mines-paris.org
Tue Oct 8 00:54:00 PDT 2013


Selon Paul Meems <bontepaarden at gmail.com>:

> Hi List,
>
> I'm upgrading GDAL and GEOS to the latest stable versions for MapWinGIS and
> while compiling the project I noticed the signature for exportToGEOS and
> createFromGEOS have been changed.
> They now require a GEOSContextHandle_t parameter.
>
> I've been using Google to search for some documentation about this but
> can't find it.
>
> I've looked at the code used in GDAL and it looks like I just have to call
> GEOSContextHandle_t hGEOSCtxt = createGEOSContext();
> first and pass hGEOSCtxt.
>
> Am I correct?

Yes,

actually it is a change in trunk ( "stable" would be 1.10.X ). See
http://lists.osgeo.org/pipermail/gdal-dev/2013-August/036877.html and
http://trac.osgeo.org/gdal/changeset/26326

Even


More information about the gdal-dev mailing list