[postgis-users] ogr2ogr talking to PostGIS

Frank Warmerdam warmerdam at pobox.com
Tue Mar 16 07:45:31 PST 2004

Stephen Frost wrote:
> Greetings,
>   I'm having trouble getting ogr2ogr to talk to PostGIS happily.  I can
>   use it to convert from TIGER/Line files to ESRI Shapefiles but when I
>   try to use it to talk convert from TIGER/Line or ESRI Shapefiles to
>   PostGIS is just segfaults.
>   PostgreSQL 7.4.2
>   PostGIS 0.8.1
>   gdal 1.2+cvs.031111
>   2002 TIGER/Line data
>   Debian sid/unstable
>   Anyone have similar problems or suggestions?


Not much to go on here.  What are you using as an argument string to ogr2ogr?
Does ogr2ogr list PostGIS as a format?

Try running "ogrinfo --formats" and verify that "PostgreSQL" is listed.

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 postgis-users mailing list