Skip to content
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

Update interlis io doc #230

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

urskaufmann
Copy link
Contributor

No description provided.

urskaufmann and others added 3 commits December 18, 2024 22:28
version sqlalchemy, version modelbaker, export of selections, export to SIA405 if there are wwtp_structures in the database
@urskaufmann urskaufmann requested a review from sjib December 19, 2024 07:38
Copy link
Contributor

@sjib sjib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @urskaufmann
@ponceta can be merged when Release 1.6.6. is ready

When exporting a selection, there are not all records in all tables reduced to the selection. Wastewater structures, structure parts, wastewater networkelements, catchments, overflows are reduced, but other tables as pipe profiles or organisations are not reduced due to special cases, where it would be very difficult to select all necessary records.
If there are reaches with foregin keys to other reaches, that are not in the selection, then the selection will be expanded with this connected reach.

.. note:: Exporting to SIA405 and there are wwtp_structure in the database: because wwtp_structure is not part of the SIA405 datamodel, the wastewater_structure (and the corresponding structure_parts) will not be exported. But the wastewater_networkelement will be exported without entry in fk_wastewater_structure. Like this, the hydraulic network stays correct.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@urskaufmann Suggested change:
.. note:: Special case if there are wwtp_structure in the database or in the selection: Because wwtp_structure is not part of the SIA405 datamodel, the wastewater_structure (and the corresponding structure_parts) will not be exported. But the wastewater_networkelement will be exported without entry in fk_wastewater_structure. Like this, the hydraulic network stays correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants