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 2bf92f3 commit 2fb0b16364122badf1b797c77bb89cc1eddffcfe
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/db_manager/db_plugins/gpkg/connector.py
@@ -300,6 +300,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 2fb0b16

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