<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD><TITLE>FDO OGR-Driver 3.4.0 Connecting to PostGIS 8.2 with AutoCAD Map 3d 2010 fails</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR>
<STYLE>@font-face {
        font-family: SimSun;
}
@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: @SimSun;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Hi Traian,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Tried the gdal16.dll with all dependencies from
OSGEO4W</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>The FDO OGR 3.4.0 connection form is not
displayed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Tried the gdal16.dll with all dependencies from
gdalwin32exe160</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>The FDO OGR 3.4.0 connection form ist
displayed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>PostGIS connection is not possible</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Even with the gdal16.dll with all dependencies from
fdo-win32-3.4.1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>a PostGIS connection can not be
established.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Any Idea ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=446502016-28092009><FONT face=Arial
color=#0000ff size=2>Karl</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> fdo-users-bounces@lists.osgeo.org
[mailto:fdo-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Traian
Stanev<BR><B>Gesendet:</B> Montag, 28. September 2009 16:34<BR><B>An:</B> FDO
Users Mail List<BR><B>Betreff:</B> RE: [fdo-users] FDO OGR-Driver 3.4.0
Connecting to PostGIS 8.2 withAutoCAD Map 3d 2010 fails <BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">The
GDAL DLL that comes with FDO is not compiled with the PostGIS driver by default
– try replacing it by the GDAL dll that you are using with ogr2ogr (which
presumably has the driver). You will also need libpq.dll and some other
supporting PostGIS dlls. <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Traian<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
fdo-users-bounces@lists.osgeo.org [mailto:fdo-users-bounces@lists.osgeo.org]
<B>On Behalf Of </B>Hermann Karl<BR><B>Sent:</B> Monday, September 28, 2009 6:16
AM<BR><B>To:</B> FDO Users Mail List<BR><B>Subject:</B> [fdo-users] FDO
OGR-Driver 3.4.0 Connecting to PostGIS 8.2 with AutoCAD Map 3d 2010 fails
<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Dear
List,</SPAN><SPAN lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">trying to connect to
PostGIS 8.2 from AutoCAD Map 3d 2010</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">with
connectionstring</SPAN><SPAN lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">PG:"dbname=databasename
host=localhost port=5432 user=x password=y"</SPAN><SPAN lang=DE-AT>
</SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">following error message is
launched</SPAN><SPAN lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">OSGeo.FDO.Common.Execption:
Connect failed:</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> bei
OSGeo.FDO.Connections.IConnectionImp.Open()</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> bei
Autodesk.Gis.Map.DataConnect.Plugins.GenericProviderConnectionPlugin.buttonLogin_Click(Object
sender, EventArgs e)</SPAN><SPAN lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">in the
readme of the FDO OGR-driver 3.4.0 there is following comment:</SPAN><SPAN
lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">So far
the OGR provider has been (successfully) tested with:</SPAN> <BR><SPAN
lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> * SHP
files</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> * MapInfo
files (.TAB)</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> * Oracle
Spatial</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> * ESRI
personal geodatabase (.mdb)</SPAN> <BR><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> * PostGIS
(on PostgreSQL 8.1.4)</SPAN><SPAN lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">the
commandlinetools ogr2ogr or ogrinfo work with this connection syntax</SPAN><SPAN
lang=DE-AT> </SPAN><o:p></o:p></P>
<P><SPAN lang=DE-AT
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Karl</SPAN><SPAN lang=DE-AT>
</SPAN><o:p></o:p></P></DIV></DIV></BODY></HTML>