[Gdal-dev] seg fault with ogr2ogr

Frank Warmerdam warmerdam at pobox.com
Wed Jan 11 23:41:09 EST 2006


On 1/11/06, palmerj at xtra.co.nz <palmerj at xtra.co.nz> wrote:
> Hi,
>
> I recently upgraded postgresql 8.1.0/postgis 1.04 and gdal 1.3.1 from 7.4.2/0.9/1.2.6 on a redhat 9.0 box. I have been using pg and postgres with no problems for the last 3 months or so, but I have not used ogr2ogr until now.
>
> Under 1.2.6 I used to be able to run a command like this with no problems:
>
> ogr2ogr -f "Mapinfo File" testgis PG:dbname=testgis \
> -sql "SELECT id,
>              getappspecific(id,'SURV', 'Y') AS appellation,
>              transform(translate(shape, 160,0,0),27200)
>       FROM   crs_parcel
>       WHERE  status = 'CURR'
>       AND    toc_code ='PRIM'
>       AND    parcel_intent <> 'ROAD'
>       AND    parcel_intent <> 'HYDR'" \
> -nln parcel \
> -a_srs 'EPSG:27200'
>
> However under postgis 1.0 and gdal 1.3.1 this now segfaults.
...
> Any ideas on what is causing these issues with the ogr2ogr?

Jeremy,

Sorry, I've no real idea why this is happening.  Any chance
of running things in gdb so you can get a traceback?  Also,
would you consider upgrading to GDAL CVS to see if this
is something that might have been fixed?

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