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

Layer vw_network_node and vw_network_segment not available #79

Closed
urskaufmann opened this issue Jan 15, 2024 · 5 comments
Closed

Layer vw_network_node and vw_network_segment not available #79

urskaufmann opened this issue Jan 15, 2024 · 5 comments

Comments

@urskaufmann
Copy link
Contributor

urskaufmann commented Jan 15, 2024

Describe the bug
Perhaps I have these layer not available when opening the project the first time, because I did install the database with a bat-file from
tww_dev_structure_with_value_lists.sql
I have to run manually
REFRESH MATERIALIZED VIEW tww_app.vw_network_node; REFRESH MATERIALIZED VIEW tww_app.vw_network_segment;
To Reproduce

Expected behavior
These 2 lines of sql should run automaticaly.

Screenshots / data

Desktop (please complete the following information):

  • TEKSI plugin version 0.0.0
  • TEKSI datamodel version testversion 24.01.15
  • TEKSI project file version 24.01.15
  • QGIS Version - see the About menu 3.28.6
  • Postgres - you can check with SELECT version(); 14.5
  • Postgis - you can check with SELECT PostGIS_full_version(); 3.3.2
  • OS win10

Additional context
Add any other context about the problem here.

@sjib
Copy link
Contributor

sjib commented Jan 15, 2024

I just clicked on the button "SQL" - this should also refresh.
But I agree, why not add the command REFRESH MATERIALIZED VIEW tww_app.vw_network_node; REFRESH MATERIALIZED VIEW tww_app.vw_network_segment; at the end of the import script.

@sjib
Copy link
Contributor

sjib commented Jan 15, 2024

Discuss together with #75 Main cover / main node

@sjib
Copy link
Contributor

sjib commented Jan 17, 2024

@domi4484 We discussed this in the technical group on Tuesday.
Please add the following queries to run at the end of the import process - I think that would be user friendly:

REFRESH MATERIALIZED VIEW tww_app.vw_network_node;
REFRESH MATERIALIZED VIEW tww_app.vw_network_segment;

@sjib
Copy link
Contributor

sjib commented Jan 19, 2024

See #75 for implementation

@3nids
Copy link
Contributor

3nids commented Jan 23, 2024

should be fixed in last plugin demo, please re-open if needed

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

No branches or pull requests

3 participants