[Gdal-dev] ogrinfo: Unable to initialize ODBC connection

Christian Wilmes C.Wilmes at gmx.de
Thu May 18 08:19:05 EDT 2006


Hi All,

I try to connect to a PostgreSQL-Database over ODBC. When typing the command ogrinfo ODBC.ovf I get the following errors:
ERROR 4: Update access not supported for VRT datasources.
ERROR 1: Unable to initialize ODBC connection to DSN for user/pass at Postgre,
Specified driver could not be laodet due to system error 182 (PostgreSQL+).

Here is the corosponding ogr-file:
<OGRVRTDataSource>
    <OGRVRTLayer name="featuref">
        <SrcDataSource>ODBC:cwilmes/cwilmes at Postgre</SrcDataSource> 
 	<SrcLayer>featurePK2</SrcLayer> 
	<GeometryType>wkbPoint</GeometryType> 
        <LayerSRS>WGS84</LayerSRS>
	<GeometryField encoding="PointFromColumns" x="lat" y="lon"/> 
    </OGRVRTLayer>
</OGRVRTDataSource>



I would be very thankfull for any hint how to make it better.

Please excuse my bad english!

Best Regards
Christian
-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
    

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer
    



More information about the Gdal-dev mailing list