<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Gdal - geometry_columns</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Courier New">Hello</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">I have upgrade mapserver from 4.8.4 to version 5.2 and Gdal from 1.3.2 to 1.5.2</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Now I got this error</FONT>

<BR><FONT SIZE=2 FACE="Courier New">Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'ODBC'. in c:\inetpub\wwwroot\jar3\xmlkort.php on line 591</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">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</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">The error is that I have a row in geometry_columns table called &quot;test&quot;, but dont have any view for it so if I delete the row test in geometry_columns it works fine.</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">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 ?</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">and is it possible to remove this check</FONT>

<BR><FONT SIZE=2 FACE="Courier New"> </FONT>

<BR><FONT SIZE=2 FACE="Courier New">Jeppe Lund Andersen</FONT>
</P>

</BODY>
</HTML>