-
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
Add button update wastewater symbologies and labels #264
Comments
Add code for new button to
and define new tool twwupdatewwssymbology.py in \wastewater\plugin\teksi_wastewater\tools |
At all - are there any other requests for new buttons? Then please link to this issue. |
Already added to import process - see #263 MIght have to be re-coded if new buttons exist. |
@sjib |
@domi4484 The idea is to create a new button "update wastewater symbologies and labels" in the plugin to be able to run these queries not only during the import process but anytime you want to update the symbology (as we can requery the network topology):
To all: Please vote with thumbs up if you think such a button is a necessary enhancement. Vote with thumb down if you think it is not necessary. |
@sjib in the upper comment I meant that
It means the new button should execute only those queries i guess: SELECT tww_app.update_wastewater_node_symbology(NULL, True);
SELECT tww_app.update_wastewater_structure_label(NULL, True); |
@urskaufmann Is this solved with Pre-release 2024.0.2 |
Button exists, but I'm not sure, if they really work. So, how can I test the update symbology-button? |
When changing a reachpoint.level, and the triggers are disabled, I can update the label of the manhole with the update button. Seems this works. But: I run QGIS now twice in a not-responding-mode, while I did disable/enable the triggers several times. |
SELECT tww_app.wastewater_structure_update_fk_main_cover('', True);
SELECT tww_app.wastewater_structure_update_fk_main_wastewater_node('', True);
These 3 lines did not run, but must run with the import:
SELECT tww_app.update_wastewater_node_symbology(NULL, True);
SELECT tww_app.update_wastewater_structure_label(NULL, True);
SELECT tww_app.update_wn_symbology_by_overflow(NULL, True);
And additionally: the user should be able to manualy run this lines whenever he wants. -> a new button or command in the ui to start this functions.
Originally posted by @urskaufmann in #260 (comment)
The text was updated successfully, but these errors were encountered: