-
Notifications
You must be signed in to change notification settings - Fork 5
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
Insert cover only if a cover column is not null #36
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
previous syntax interfered with .format
Good idea, but I would give some user feedback, if no cover is added. |
good point, my solution in the pre-qgep-system was, that I could delete the cover when creating a wastewater_structure. |
I prefer an automated solution so I can use inserts on tww_app.vw_tww_wastewater_structure in gateway exports (i.E. from the Aargau models). Otherwise keeping the gateway up to date is tedious. |
I am now raising a warning. |
This comment was marked as outdated.
This comment was marked as outdated.
for more information, see https://pre-commit.ci
…cymed/wastewater into create_covers_when_not_all_null
for more information, see https://pre-commit.ci
|
…cymed/wastewater into create_covers_when_not_all_null
for more information, see https://pre-commit.ci
I can not check the code. My remarks to what I read in the doc:
|
So we have a solution here, good.
You have to be aware anyway. A cover node does not help when there is no cover...
We can't add a cover for every wastewater structure, some have none |
this allows us to use the same functionality for other cases as well
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
At the moment, a new cover is created whenever a feature is created in vw_tww_wastewater_structure. As some ws have no cover (i.e. most discharge points and infiltration installations), we should only add a cover if any of the cover entries is distinct from NULL