[gdal-dev] Auto-selection of geometry column for MS SQL Server is not restrictive enough

2011-10-26 Thread Dan Homerick
The current logic for detecting the geometry or geography column will accept a column of type image (a subset of binary string[1]) as the GeomColumn. Furthermore, the logic checks the column types sequentially, and will accept an image column as the GeomColumn, even if there is a geometry or

Re: [gdal-dev] Auto-selection of geometry column for MS SQL Server is not restrictive enough

2011-10-26 Thread Tamas Szekeres
Dan, You can specify the geometry column name along with the table name in the connection string, something like: MSSQL:server=servername;database=dbname;tables=schemaname.tablename(geomcolumnname) for more information see: http://www.gdal.org/ogr/drv_mssqlspatial.html Best regards, Tamas