MSSQL Spatial Plain Tables (No Geometry)
|Reported by:||jpalmer||Owned by:||tamas|
When trying to create a table without a geometry column using the MSSQLSpatial driver no table is created and no error is thrown.
e.g (Python API):
In this case the CreateLayer? method returns successfully with a valid layer object.
I've tracked this down to this code:
As a minimum the logic should be changed to throw an error if wkbNone is used for the layer geometry type.
However why not allow geometryless tables be created? Just about all of the other database driver allow this.