[fdo-users] FDO OGR-Driver 3.4.0 Connecting to PostGIS 8.2 with
AutoCAD Map 3d 2010 fails
Frank Warmerdam
warmerdam at pobox.com
Mon Sep 28 12:42:52 EDT 2009
Hermann Karl wrote:
> Dear List,
>
> trying to connect to PostGIS 8.2 from AutoCAD Map 3d 2010
> with connectionstring
>
> PG:"dbname=databasename host=localhost port=5432 user=x password=y"
>
> following error message is launched
>
> OSGeo.FDO.Common.Execption: Connect failed:
> bei OSGeo.FDO.Connections.IConnectionImp.Open()
> bei
> Autodesk.Gis.Map.DataConnect.Plugins.GenericProviderConnectionPlugin.buttonLogin_Click(Object
> sender, EventArgs e)
>
> in the readme of the FDO OGR-driver 3.4.0 there is following comment:
>
> So far the OGR provider has been (successfully) tested with:
> * SHP files
> * MapInfo files (.TAB)
> * Oracle Spatial
> * ESRI personal geodatabase (.mdb)
> * PostGIS (on PostgreSQL 8.1.4)
>
> the commandlinetools ogr2ogr or ogrinfo work with this connection syntax
Karl,
OGR is not built with postgresql support by default and I suspect the
OGR driver you have lacks it. You can test the GDAL/OGR dll with depends.exe
(if you have it) to see if it has a dependency on the libpq.dll (the postgres
client library).
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 fdo-users
mailing list