[mapserver-users] Gdal - geometry_columns

Jeppe Lund Andersen JXA at cowi.dk
Wed Sep 3 07:32:51 EDT 2008


Hello

I have upgrade mapserver from 4.8.4 to version 5.2 and Gdal from 1.3.2 to 1.5.2

Now I got this error
Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'ODBC'. in c:\inetpub\wwwroot\jar3\xmlkort.php on line 591
Warning: [MapServer Error]: msOGRFileNextShape(): No column definitions found for table 'test', layer not usable. in c:\inetpub\wwwroot\jar3\xmlkort.php on line 591 Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\jar3\xmlkort.php on line 621

The error is that I have a row in geometry_columns table called "test", but dont have any view for it so if I delete the row test in geometry_columns it works fine.

For me it seems that Gdal now has a check that sees, if all rows in geometry_columns has a view - is that true, if so what is the reason for this ?
and is it possible to remove this check
 
Jeppe Lund Andersen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080903/edfc137d/attachment.html


More information about the mapserver-users mailing list