Closed SannaJokela closed 4 years ago
@SannaJokela
legally binding/obsolete date should change process phase is chosen*
What does this mean in practice? Should changing the process phase of an existing feature automatically:
Is this the intended behaviour? It can be done with a database trigger if needed.
Modifier needs to be created (does it need to be in the schema as well?)
What does this mean?
If the land use planner needs to add a new code to some of the code lists, how to do this? Dragging the layer to the layer list?
I believe we should keep the layers from tables in koodistot and kaavan_lisatiedot schemas visible in QGIS for this reason. They can be grouped in their own layer groups so they don't get in the way but are still available. What do you think?
Yes probably so, but they should be populated with the existing values.
Modifier (land use planner)
Modifier needs to be created (does it need to be in the schema as well?)
What does this mean?
==> Where to store information about the user/modifier? It was not taken into account in the original detailed land use plan.
@SannaJokela
legally binding/obsolete date should change process phase is chosen*
What does this mean in practice? Should changing the process phase of an existing feature automatically:
- set the legally obsolete date (and lifespan end date?) of the feature to current date
- create a new feature with the new process phase
- set the legally binding date of the new feature to current date
Is this the intended behaviour? It can be done with a database trigger if needed.
If the land use plan becomes obsolete (not valid anymore, this is decided by the land use planner by clicking the correct value from the process list), the date (obsoletedate / kumoamispvm) should probably be assigned automatically. But then again, the date might be different from the current date... So maybe no automation needed in this case in the end. Or should we have it?
Process when the land use plan becomes valid / legally binding
Process when the whole land use becomes invalid/obsolete/kumottu:
Process when a part of the land use plan (a feature) becomes invalid/obsolete/kumottu): (I don't know if this is possible with the data base model yet)
Modifier (land use planner)
Modifier needs to be created (does it need to be in the schema as well?)
What does this mean?
==> Where to store information about the user/modifier? It was not taken into account in the original detailed land use plan.
This needs to be included in the schema in order to be persistent. I'll create an issue on this in the main qaava repository.
Updated the issue: added numeric values and theme (for general land use plan only).
I will close this for now, since layers are handled in the main repository.
Forms and layers in QGIS for land use plans
Most of the relations and tables should be hidden. Automatically updated information marked with *.
Land use plan (asemakaava tai yleiskaava)
Border (asemakaava tai yleiskaava)
Additional information to the Border (separate sheet?)
Zoning element (maankayttoalue)
Sub-regions (osa_alue, only within asemakaava)
Land use planning elements (kaavaelementti.geom.point, kaavaelementti.geom.line, kaavaelementti.geom.polygon)
Land use specification (no geometry), kaavamaarays
Questions