<br><font size=2 face="sans-serif">Thanks Jeff</font>
<br><font size=2 face="sans-serif">I got now OGR_ODBC: Table �s���s!.���������
has no identified FID column.</font>
<br>
<br><font size=2 face="sans-serif">I found that several users had this
problem but found no solution. I don't have write access to this MSSQL
server.</font>
<br>
<br><font size=2 face="sans-serif">I'm connecting via ODBC to a non spatial
table, but it contains latitude and longitude information. I will use it
to define a </font><font size=3 face="Times New Roman">OGRVRTDataSource</font><font size=2 face="sans-serif">
and create geometry from point.</font>
<br>
<br><font size=2 face="sans-serif">Any clue on what I can do?</font>
<br><font size=2 face="sans-serif">thanks</font>
<br><font size=2 face="sans-serif">steve</font>
<br><font size=2 face="sans-serif"><br>
</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jeff McKenna <jmckenna@gatewaygeomatics.com>@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : gdal-dev-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2012-05-30 17:06</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">gdal-dev@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [gdal-dev] ogr ODBC problem</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>On 12-05-30 5:09 PM, Steve.Toutant@inspq.qc.ca wrote:<br>
> <br>
> Hi!<br>
> I use this command to get the tables from an ODBC connection<br>
> ogrinfo ODBC:User/Pwd@DNS<br>
> <br>
> The connection is succesful but I get this error several times<br>
> ERROR 1: No column definitions found for table '�s���s!.�����������',<br>
> layer not usable.<br>
> <br>
> I used OGR ODBC for several months from a Windows server to a MSSQL
server<br>
> Now I'm migrating to linux and accessing the same MSSQL SERVER and
I get<br>
> this error.<br>
> <br>
> Note that if I connect with isql, I can connect and query the database<br>
> without problem.<br>
> So the problem really seems to be with OGR<br>
> <br>
> What can cause this No column definitions found for table error<br>
> And why the table name looks like this '�s���s!.�����������',<br>
<br>
Hi Steve,<br>
<br>
I was just debugging an ogrinfo command for MS4W/Oracle, and was<br>
reminded of the trick to show more debug info at the commandline:<br>
<br>
set CPL_DEBUG=on<br>
<br>
I'm going to keep that one in my back pocket from now on.<br>
<br>
-jeff<br>
<br>
<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
http://www.gatewaygeomatics.com/<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
gdal-dev@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/gdal-dev</font></tt>
<br>
<br>
<br>