-
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
Add view for detailgeometry #174
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Looks good, have you tested it on data / QGIS project? |
I have tested using it in visualisations, but I have not replaced the existing layer nor tested the digitising actions. |
f1610ed
to
dcf0590
Compare
…wastewater into view_detailgeometry
for more information, see https://pre-commit.ci
Enable fk_main_node and fk_main_cover so we can replace actual tww_od.wastewater_structure layer with tww_app.wastewater_structure
There was a problem hiding this 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.
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.