diff --git a/python/plugins/db_manager/db_plugins/gpkg/connector.py b/python/plugins/db_manager/db_plugins/gpkg/connector.py index b8f1d3f9918..5b77c243287 100644 --- a/python/plugins/db_manager/db_plugins/gpkg/connector.py +++ b/python/plugins/db_manager/db_plugins/gpkg/connector.py @@ -300,6 +300,7 @@ class GPKGDBConnector(DBConnector): geomtype_flatten = ogr.GT_Flatten(geomtype) else: geomtype_flatten = geomtype + geomname = 'GEOMETRY' if geomtype_flatten == ogr.wkbPoint: geomname = 'POINT' elif geomtype_flatten == ogr.wkbLineString: