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

Styling and hiding parts of the network in QGIS #1633

Closed
DanielTollenaar opened this issue Jul 18, 2024 · 2 comments
Closed

Styling and hiding parts of the network in QGIS #1633

DanielTollenaar opened this issue Jul 18, 2024 · 2 comments
Labels
QGIS Ribasim QGIS plugin

Comments

@DanielTollenaar
Copy link
Contributor

What
A user wants to be able to toggle the visibility of links showing demand/return_flow on/off so the user doesn't get lost in all edges.

Why
Demand/supply often represent (piped)systems that are not modelled explicitly. They will cross the actual water system that is being modelled explicitly. The user may get lost in a web of edges representing supply and return_flow

image

How
Suggest to add a demand edge_type, or something similar, that the user can switch off in QGIS, just as the user can toggle control-type links on and off

@visr
Copy link
Member

visr commented Jul 18, 2024

The edge_type is primarily something we need to distinguish in the core. Besides this our default style uses this a a categorized symbology to give them a separate color.

It might be worth thinking about nice ways to control visibility by for instance looking at a column in the data model, or adding toggles. Though I think the requirements for this are different per model, and it probably won't be a priority soon. Also these is value to relying on QGIS as much as possible for these kinds of things.

For instance you can switch from a categorized to a rule-based symbology, and look at the from_node_type or to_node_type:

image
image

@visr visr added the QGIS Ribasim QGIS plugin label Jul 18, 2024
@visr visr changed the title Suggest introducing demand edge_type Styling and hiding parts of the network in QGIS Jul 18, 2024
@visr
Copy link
Member

visr commented Sep 23, 2024

With #1713 you can now customize the style in QGIS as you wish, and it will save this in the model database. Let us know if that is sufficient.

One related issue that would improve this further, that you brought up before, is tracked in #1754.

@visr visr closed this as completed Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QGIS Ribasim QGIS plugin
Projects
Status: Done
Development

No branches or pull requests

2 participants