7.5.0
Pre-releaseThis release brings better support of working with extended models concerning export and validation.
Improvements
Export the data in the base model format
If your data is in the format of the cantonal model, but you want to export it in the format of the national model, you have to pass --exportModels
to ili2db, otherwise (or if the data cannot be exported/validated in the selected model because it's not an extension of it) the data is exported in the model it is stored.
Usually, this is one single model. However, it is also possible to pass multiple models, which makes sense if there are multiple base models in the schema you want to export.
Note that this implementation works as addition (and not replacement) of the filters where models can be passed to define what data (not what format) should be exported.
The tool tip is listing all the relevant parent models (the ones that are listed as well, means are exportable).
The export session visualization has been improved, helping for more clearity.
Validate the data in the base model format
Same is now supported in the validator as well.
When the data are validated in the model where they are stored (here Staedtischer_Ortsplanung_V1_1
extending Kantonale_Ortsplanung_V1_1
, all the constraints are considered. Means the one of the extended model and of its parents.
And when validating according to the parent model, only the parent model's constraints are checked (and the parent's parent's constraints of course 😄
Sponsors
This feature has been financed by QGIS Anwendergruppe Schweiz - Groupe d'utilisateurs QGIS Suisse - Swiss QGIS User Group
ili2db
Using ili2db version 4.10.0
Library
Using modelbaker library 1.4.3