Skip to content
Permalink
Browse files

[DBManager] Avoid unhandled exception on a untyped geometry (wkbUnkno…

…wn) layer (#16730)
  • Loading branch information
rouault committed Jun 21, 2017
1 parent 5ef70f1 commit 6cfd1a0f51251691e46741fef519ca6eace11405
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/db_manager/db_plugins/gpkg/connector.py
@@ -299,6 +299,7 @@ def getVectorTables(self, schema=None):
geomtype_flatten = ogr.GT_Flatten(geomtype)
else:
geomtype_flatten = geomtype
geomname = 'GEOMETRY'
if geomtype_flatten == ogr.wkbPoint:
geomname = 'POINT'
elif geomtype_flatten == ogr.wkbLineString:

0 comments on commit 6cfd1a0

Please sign in to comment.
You can’t perform that action at this time.