Final concept only containing things that will be implemented and addtional notes how the technical implementation could be.
New wizard with an own button / menu entry.
With release 7.1. of the QGIS Model Baker the backend library is separated from the graphical components. As well there PostgreSQL services are supported (pg_service.conf) in the database selection as well as the SSL mode. Another nice thing is the new "Link Child Dialog" in the Relation Editor Widget provided by the new plugin Linking Relation Editor
With Qgis Model Baker the Linking Relation Editor plugin is loaded as dependency. When a project is generated this widget type is chosen as the Relation Editor Widget.
When linking child features there will be opened a much more comfortable dialog, than we are used to.
Note that those are only notes made by @signedav and not a clearly defined concept. See for the implemented part opengisch/QgisModelBaker#648
First of all the layer tree file gets powerfull.
The layer tree file will contain in future:
This is the original started concept, containing a lot of general thoughts. For the final concept see: https://gist.github.com/signedav/44b12b6667c707f646dc6177e026ac56
We will have a new wizard - and not to insert it into the existing workflow wizard, since it's kind of an operator functionality and the normal user should not be confronted to much with it - with an own button / menu entry.
<?xml version="1.0" encoding="UTF-8"?><TRANSFER xmlns="http://www.interlis.ch/INTERLIS2.3">
<HEADERSECTION SENDER="ili2pg-4.6.1-63db90def1260a503f0f2d4cb846686cd4851184" VERSION="2.3"><MODELS><MODEL NAME="IliVErrors" VERSION="2016-06-10" URI="mailto:ceis@localhost"></MODEL></MODELS></HEADERSECTION>
<DATASECTION>
<IliVErrors.ErrorLog BID="b1">
<IliVErrors.ErrorLog.Error TID="o1"><Message>ili2pg-4.6.1-63db90def1260a503f0f2d4cb846686cd4851184</Message><Type>Info</Type><TechDetails>logGeneralInfo(): (Ili2db.java:1458)</TechDetails></IliVErrors.ErrorLog.Error>
<IliVErrors.ErrorLog.Error TID="o2"><Message>ili2c-5.2.3-3ec7a10e9bacc87e149a14a7f11a6035e0481c69</Message><Type>Info</Type><TechDetails>logGeneralInfo(): (Ili2db.java:1459)</TechDetails></IliVErrors.ErrorLog.Error>
<IliVErrors.ErrorLog.Error TID="o3"><Message>iox-ili-1.21.8-a6aee68136447c0616995e56888fa9c7ef362a77</Message><Type>Info</Type><TechDetails>logGeneralInfo(): (Ili2db.java:1460)</TechDetails></IliVErrors.ErrorLog.Error>
<IliVErrors.ErrorLog
First page on opening the wizard asks you to load the files and the models you want to import:
Ein ilidata.xml basiert auf dem Model DatasetIdx16. Es enthält Elemente "DatasetMetadata" wo relative Pfade zu Files definiert sind. Die Files liegen auf demselben Server/Repo wie das ilidata.xml. Es gibt verschiedene Server/Repos. Die "DatasetMetadata" werden anhand einer Systemübergreifenden Id identifiziert. Es ist dem Benutzer überlassen, wie diese Id lautet (in den Beispielen werden UUIDs genommen).
Ein Meta-Konfigurationsfile ist eine INI-Datei, die Konfigurationen für ein oder mehrere Tools enthält. Dort kann auf andere Files referenziert werden - anhand der Systemübergreifenden DatasetMetadata-Id.
Die Tools können dies unterschiedlich handhaben. ZBs. wird ili2db das Meta-Konfigurationsfile übergeben. Dort ist dann auch das Modell spezifiziert. Im ModelBaker hingegen startet man (meistens) mit dem Modell. Wenn ein Modell importiert wird, soll auf allen relevanten Servern/Repos nach relevanten Meta-Konfigurationsfiles gesucht werden (und Katalogen - mehr dazu später). Die benötigte