Thanks Even, I'll change our code. I assume I need to call freeGEOSContext( hGEOSCtxt ); afterwards as well.
And you are right. I'm using the trunk version of GDAL because I want the update EPSG database. But I'm using GEOS v3.4.2 (Stable) Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Dutch speaking users. www.mapwindow.nl * * 2013/10/8 Even Rouault <even.roua...@mines-paris.org> > Selon Paul Meems <bontepaar...@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 >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev