[FWTools] ogr2ogr and postgres 8.3.4

Frank Warmerdam warmerdam at pobox.com
Mon Nov 10 09:26:19 EST 2008


Chetan Tiwari wrote:
> Hi All,
> 
> I have been having some issues with ogr2ogr and postgres 8.3.4 on Linux. 
> I mainly use it to convert a postgis table to a shapefile. Ogr2ogr works 
> fine with 8.2.4, but seems to be giving me trouble with 8.3.4. 
> <http://8.3.4.> The error message with 8.3.4 is "Unable to open 
> datasource `PG:host=localhost user=user port=5489 dbname=dmap 
> password=xxx' with the following drivers.". I saw something on this list 
> about the geometry_columns table, but couldn't quite follow the thread.
> 
> Any suggestions will be most appreaciated.

Chetan,

Does ogrinfo work against this datasource name?

Could you add "--debug on" (without the quotes) to your commandline and
capture all the resulting output for us?

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 FWTools mailing list