Hi!
I get this error now:

I run #ogrinfo name.ovf --debug on
ERROR 4: Update access not supported for VRT datasources.
OGR_ODBC: EstablishSession(DSN:"dsn", userid:"user", password:"pass")
ODBC: SQLConnect(myodbc)
ODBC: ... failed: [unixODBC][Driver Manager]Driver's SQLAllocHandle on
SQL_HANDLE_HENV failed
ODBC: SQLDisconnect()
ERROR 1: Unable to initialize ODBC connection to DSN for user/[EMAIL PROTECTED],
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
FAILURE:
Unable to open datasource `name.ovf' with the following drivers.

ODBC connection works fine with isql and ogrinfo if used directly but
not with ovf.

What can I do?

Here's the ovf:

<OGRVRTDataSource>

   <OGRVRTLayer name="name">
       <SrcDataSource>ODBC:user/[EMAIL PROTECTED]</SrcDataSource>
       <SrcSQL> Tested and working SQL</SrcSQL>
       <GeometryField encoding="WKT" field="geom"/>
    </OGRVRTLayer>

</OGRVRTDataSource>

The same ovf works fine on 2 other servers but not on my new one.

Regards!

Antti S

Reply via email to