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

Add view for detailgeometry #174

Merged
merged 16 commits into from
Jul 16, 2024
Merged

Add view for detailgeometry #174

merged 16 commits into from
Jul 16, 2024

Conversation

cymed
Copy link
Contributor

@cymed cymed commented Feb 27, 2024

With #68, the fields _usage_current and _function_hierarchic were dropped from tww_od,wastewater_structure. In order to access these informations, we need a view with a left join on wastewater node to be able to use _usage_current and _function_hierarchic in visualisations in QGIS (i.e scale dependability, color etc.) This PR adds a new view tww_app.vw_wastewater_structure for this very purpose.

@ponceta ponceta self-requested a review March 13, 2024 10:30
@ponceta
Copy link
Member

ponceta commented Mar 13, 2024

Looks good, have you tested it on data / QGIS project?

@cymed
Copy link
Contributor Author

cymed commented Mar 14, 2024

I have tested using it in visualisations, but I have not replaced the existing layer nor tested the digitising actions.

@cymed cymed closed this Apr 16, 2024
@cymed cymed force-pushed the view_detailgeometry branch from f1610ed to dcf0590 Compare April 16, 2024 08:17
@cymed cymed reopened this Apr 16, 2024
@sjib sjib added enhancement New feature or request datamodel Concerns the datamodel labels Apr 17, 2024
@cymed cymed added this to the TEKSI Wastewater 2024.1 milestone Apr 17, 2024
ponceta added 2 commits July 15, 2024 16:22
Enable fk_main_node and fk_main_cover so we can replace actual tww_od.wastewater_structure layer with tww_app.wastewater_structure
Copy link
Member

@ponceta ponceta left a comment

Choose a reason for hiding this comment

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

This is the database side of the new tww_app.vw_wastewater_structure, meant to replace actual tww_od.wastewater_structure.

Works exactly the same except it has inheritance on _channel_function_hierarchic and _channel_usage_current.

We will be able to define main node and main cover from this layer too if required.

Project adaptations will be required to do so.

@ponceta ponceta merged commit 6480d2b into teksi:main Jul 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datamodel Concerns the datamodel enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants