Skip to content

wapaAdmin/tww2ag6496

 
 

Repository files navigation

TEKSI Wastewater module (TWW)

NEW TEKSI wastewater module, adapted datamodel to fit Swiss Norm VSA-DSS Release 2020.1 new standard.

This repository holds all code related to the TEKSI Wastewater module (formerly QGEP).

It contains:

  • The datamodel definition in english
  • A QGIS wastewater plugin : TEKSI wastewater
  • A QGIS .qgs project : TEKSI wastewater and General Wastewater Management Plan (GWMP)
  • The documentation : https://teksi.github.io/wastewater/

How to start testing

Upcoming first version TEKSI Wastewater 2024.0 is due to end of march 2024.

Migration path from QGEP to TEKSI Wastewater is due to end of summer 2024.

Local development

  1. Open OSGeo4W Shell and run pip install debugpy.

  2. Clone this repository to your local machine.

  3. Open QGIS, go to the Environment section in Settings > Options - System and add the following custom variables:

    Apply Variable Value
    APPEND QGIS_PLUGINPATH {repositoryPath}/plugin
    APPEND QGIS_PLUGIN_USE_DEBUGGER debugpy
  4. Install QGIS plugin Plugin Reloader. This will allow you to reload the plugin without restarting QGIS.

  5. Follow the prerequisites and Usage (GUI) from https://github.com/wapaAdmin/tww2ag6496/blob/main/docs/en/admin-guide/interlis-io/index.rst

Local development with VS Code

  1. Ensure prerequisites are met according to the admin guide.
  2. Install Visual Studio Code and the Python extension.
  3. Install QGIS in Version 3.34.10 or adapt qgis.installationRoot in '.vscode/settings.json'.
  4. Install Docker
  5. Install debugpy by running Task Install dependencies or run pip install debugpy in the OSGeo4W Shell.
  6. Launch QGIS with Task Launch QGIS.
  7. Wait for QGIS to start and open the plugin in QGIS.
  8. Attach the debugger with Debug: Start Debugging (F5) with configuration Python: Remote Attach

About

[DEV] Future TEKSI wastewater module, adapted datamodel to fit VSA 2020 new standard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.2%
  • PLpgSQL 33.5%
  • JavaScript 1.9%
  • Shell 0.7%
  • Smarty 0.3%
  • CSS 0.2%
  • Other 0.2%