OGR Virtual Error

Bart van den Eijnden bartvde at XS4ALL.NL
Wed Dec 21 10:10:52 PST 2005


The only apparent thing is that no features are read. Are you able to 
put on logging on your PostgreSQL database and see which queries are 
executed by OGR?

Best regards,
Bart

Simbiosis Amorpha wrote:

> Hi Bart,
>
> Thanks for the debugging tip. This is what I get in my error_log:
>
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] [Wed Dec 21 
> 09:48:14 2005].688040
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] 
> msOGRFileOpen(virtual.ovf)...
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] [Wed Dec 21 
> 09:48:14 2005].688529
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] 
> OGROPen(/var/www/html/starfinder/virtual.ovf)
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] ODBC: 
> EstablishSession(PostgreSQL,,(null))
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] ODBC: 
> SQLConnect(PostgreSQL)
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] OGR: 
> OGROpen(ODBC:@PostgreSQL,sorento) succeeded (0x8a667a0).
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] OGR: 
> OGROpen(/var/www/html/starfinder/virtual.ovf) succeeded (0x8a10a90).
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] [Wed Dec 21 
> 09:48:14 2005].722995
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] 
> msOGRLayerClose(virtual.ovf).
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] [Wed Dec 21 
> 09:48:14 2005].723160
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] 
> msOGRFileClose(/var/www/html/starfinder/virtual.ovf,0).
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] OGR: 
> ReleaseDataSource(/var/www/html/starfinder/virtual.ovf/0x8a10a90) 
> dereferenced and now destroying.
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] OGR: 
> ReleaseDataSource(ODBC:@PostgreSQL,sorento/0x8a667a0) dereferenced and 
> now destroying.
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] ODBC: 
> SQLDisconnect()
> [Wed Dec 21 09:48:14 2005] [error] [client 10.54.0.246] GDAL: 
> GDALDeregister_GTiff() called.
>
>


-- 
+------------------------+
| Bart van den Eijnden   |
| OSGIS, Open Source GIS |
| http://www.osgis.nl    |
+------------------------+



More information about the MapServer-users mailing list