opengisch / QgisModelBaker

Create QGIS projects from database schemas or Interlis models
https://opengisch.github.io/QgisModelBaker/
GNU Lesser General Public License v3.0
54 stars 18 forks source link

Use QVariantList with CatalogueObjects_V1-Reference #664

Open romefi opened 2 years ago

romefi commented 2 years ago

If we have a domain with !!@ili2db.mapping=ARRAY like in example beispiel_domain.zip, we get a QVariantList, which is very user friendly:

image

If the values are definied with CatalogueObjects_V1 like in example beispiel_katalog.zip, we get a relation:

image

As Catalogues are more dynamic as Domains, we would love to have the the ability to define a Catalogue-reference the same way as domains with !!@ili2db.mapping=ARRAY. Means we get a QVariantList in QGIS, where you can choose all the Catalogue-Objects belonging to an object.

What would it need to make that possible (QGIS Model Baker, ili2db)?

signedav commented 2 years ago

Good input. Another situation we have, when we don't have a BAG OF catalogue objects like here https://github.com/opengisch/QgisModelBaker/issues/661

I don't have a supersimple solution at the moment for this use case. Needs some more evaluation.

signedav commented 2 years ago

I think we need an implementation on ili2db for this. I contacted Claude.