AW: [fdo-users] FDO OGR-Driver 3.4.0 Connecting to PostGIS 8.2 withAutoCAD Map 3d 2010 fails

Hermann Karl Karl.Hermann at
Tue Sep 29 10:16:37 EDT 2009

Hi Frank,

Thanks for your reply.

If the gdal16.dll  in the FDO/bin directory of AutoCAD Map 3d 2010 which is without PostgreSQL support
is replaced with



the OGR connect to PostGIS will work

Best regards,


-----Ursprüngliche Nachricht-----
Von: fdo-users-bounces at [mailto:fdo-users-bounces at] Im Auftrag von Frank Warmerdam
Gesendet: Montag, 28. September 2009 18:43
An: FDO Users Mail List
Betreff: Re: [fdo-users] FDO OGR-Driver 3.4.0 Connecting to PostGIS 8.2 withAutoCAD Map 3d 2010 fails

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.b
> uttonLogin_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


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
light and sound - activate the windows |
and watch the world go round - Rush    | Geospatial Programmer for Rent

fdo-users mailing list
fdo-users at

More information about the fdo-users mailing list