[Gdal-dev] gdal/ogr python issues after re-compile
Frank Warmerdam
warmerdam at pobox.com
Mon Jan 30 22:25:35 EST 2006
On 1/30/06, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
> This morning I had a working copy of the GDAL python modules.
>
> After a re-compile with postgresql enabled this time, I found the following
> problem:
>
> a python script using the .Buffer() method from ogr.py causes a segfault.
>
> All of my python stuff is installed via debian packages, while GDAL and
> PostgreSQL are done via source code.
>
> re-compiling with the --without-pg option, i find that the python program
> still segfaults!
>
> any thoughts on what could be messed up with my OGR python modules? I have
> confirmed that i can in fact use ogr2ogr, so it must be something with the
> python stuff.
Dylan,
The Buffer() operator uses GEOS. Any chance that you upgraded
your GEOS (perhaps as part of a PostGIS install) without realizing it?
If you have, you will certainly need to recompile GDAL against the newer
version.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list