Skip to content

Commit 6cfd1a0

Browse files
committed
[DBManager] Avoid unhandled exception on a untyped geometry (wkbUnknown) layer (#16730)
1 parent 5ef70f1 commit 6cfd1a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎python/plugins/db_manager/db_plugins/gpkg/connector.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ def getVectorTables(self, schema=None):
299299
geomtype_flatten = ogr.GT_Flatten(geomtype)
300300
else:
301301
geomtype_flatten = geomtype
302+
geomname = 'GEOMETRY'
302303
if geomtype_flatten == ogr.wkbPoint:
303304
geomname = 'POINT'
304305
elif geomtype_flatten == ogr.wkbLineString:

0 commit comments

Comments
 (0)