-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Separate symbology and labels from od #509
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…ewater into separate_labels
Constraint triggers do not support for each statement
for more information, see https://pre-commit.ci
I am struggling with the tests: As the label triggers are now deferred, we need to commit the transaction before testing labels and symbologies. When exactly should I commit and will committing impact the other tests? |
@cymed could you describe how the new _status (integer) attribute should work? What is the reason to remove the attributes tww_active and tww_local_extension? |
_status is not new, it already exists on wastewater_node
They were in the code twice, I removed one entity |
General
Describe your changes
Concept of #409, but including symbology.
The PR introduces
tww_od.tww_symbology_quarantine
tww_od.tww_reach_point_labels
tww_od.tww_wastewater_structure_labels
tww_od.tww_wastewater_node_symbology
tww_app.vw_tww_wastewater_node
to include the now separated symbology columns. TODO: currently, moving thevw_tww_wastewater_node
moves the corresponding reaches/reach points as well. Is this behaviour desired?Changes on symbology are now stored in a separate table, which in turn leads to fewer circular triggers.
The symbology triggers now only add the wastewater structure/wastewater node OID to
tww_od.tww_symbology_quarantine
. After an INSERT, a statement level trigger updates symbology and labelsTo-Do
When altering a geometry in
tww_app.vw_tww_wastewater_node
, the geometry of the reaches/reach points linked to it are updated too. We need feedback from the user group if this behaviour is desired or not.Screenshots
Issue ticket number and link
Checklist before requesting a review
Checklist before merge