opengisch / QgisModelBaker

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

Provide (or propose) Project Optimization only for Smart2 #888

Closed signedav closed 3 months ago

signedav commented 8 months ago

Project optimization on extended models (to hide the unused base layers) concerns smart2 inharitance. But still it's offered for smart1. This leads to hidden layers we need (because extended classes are "merged" to the parent).

image

So this option should not be provided when schema is created with smart1 OR it should optimize the project in a smart1 way (like e.g. set the default value for the t_type field to the extended class).

signedav commented 7 months ago

E.g. Hidden -> only provide type of extended / Group -> set extended to default / no -> leave it like it is...