[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

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

2011-02-07 Thread Tamas Szekeres
2011/2/7 geographika geograph...@gmail.com 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

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 geograph...@gmail.com 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