[gdal-dev] Changed API for exportToGEOS

Paul Meems bontepaarden at gmail.com
Tue Oct 8 01:07:21 PDT 2013


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.rouault at mines-paris.org>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131008/2ca8135d/attachment-0001.html>


More information about the gdal-dev mailing list