When having this (Use Case Multigeometry - ili2db)
In QGIS it recognizes only a point.
- I build it locally (like this https://gdal.org/development/building_from_source.html)
- I changed the GDAL stuff in the QGIS Build Settings
Model Baker makes it like this:
With direct drag'n'drop:
We can add something. And no (at least no immediate) locks on Transaction Mode:
Then I checked KbS_V1_5.
With Model Baker it turned like this (after ignoring the rel.isValid() error):
Kann Layer belasteter_standort nicht finden.(Table belasteter_standort appearing several times in gpkg_contents and/or gpkg_geometry_columns)
Then I fixed the sources. And I try to digitize.
There are no locks and I can digitize, but the results are not rendered...
On reopening the project I see something:
INSERT INTO gpkg_geometry_columns VALUES('test','poly','POLYGON',0,0,0)
INSERT INTO gpkg_geometry_columns VALUES('test','pt','POINT',0,0,0)
CREATE TABLE "test" ( "ogc_fid" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "poly" POLYGON, "pt" POINT, "area" REAL, "eas_id" INTEGER, "prfedea" TEXT(16))
Additional param: --gpkgMultiGeomPerTable
INTERLIS 2.3;
MODEL MultiGeom (en)
AT "http://modelbaker.ch"
VERSION "2020-06-22" =
IMPORTS GeometryCHLV95_V1;
DOMAIN
Line = POLYLINE WITH (STRAIGHTS) VERTEX GeometryCHLV95_V1.Coord2;
Surface = SURFACE WITH (STRAIGHTS) VERTEX GeometryCHLV95_V1.Coord2 WITHOUT OVERLAPS > 0.005;
TOPIC Spots =
CLASS POI =
Name: TEXT;
Point: GeometryCHLV95_V1.Coord2;
Line: Line;
Surface: Surface;
END POI;
END Spots;
END MultiGeom.
Model Baker Error on Project Create:
File "/home/dave/.local/share/QGIS/QGIS3/profiles/default/python/plugins/QgisModelBaker/libs/modelbaker/dataobjects/project.py", line 158, in create
assert rel.isValid()
But fixes made by passing the geometry column: opengisch/QgisModelBakerLibrary#91
And here something funny:
multiediting.webm
Smooth work on KbS with GeoPackage...