Re: [gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread Tamas Szekeres
I think the second one should also work, so this problem may however be fixed. Best regards, Tamas 2011/2/7 geographika > Thanks Tamas for the quick reply. > I've been trying a few more combinations, and I now have it working. > > In the geometry_columns table the first record works - when I

Re: [gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread geographika
Thanks Tamas for the quick reply. I've been trying a few more combinations, and I now have it working. In the geometry_columns table the first record works - when I duplicate the schema name in the the f_table_schema and f_table_name fields. The second does not. In fact I can put any entry in t

Re: [gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread Tamas Szekeres
2011/2/7 geographika > Hi, > > When working with the SQL Server 2008 OGR driver I presume it is necessary > to create the following metadata tables? > > geometry_columns > spatial_ref_sys > > There appears to be no way to do this automatically in Python, but if I > import a single dataset into t

[gdal-dev] MSSQL2008 Driver and OGR/Python

2011-02-07 Thread geographika
Hi, When working with the SQL Server 2008 OGR driver I presume it is necessary to create the following metadata tables? geometry_columns spatial_ref_sys There appears to be no way to do this automatically in Python, but if I import a single dataset into the database it is created automatical