Skip to content
generated from teksi/template

[DEV] Future TEKSI wastewater module, adapted data model to fit VSA-DSS 2020 new standard

License

Notifications You must be signed in to change notification settings

teksi/wastewater

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/

This will replace actual QGIS QGEP Project

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 LTR
  4. Install Docker
  5. Install debugpy by running task Install dependencies or run pip install debugpy in the OSGeo4W Shell on Windows or your python env for qgis.
  6. Launch QGIS with task Launch QGIS.
  7. Wait for QGIS to start and open the plugin in QGIS.
  8. Ensure Developer mode is enabled in the plugin settings. This will start the debug server.
  9. Attach the debugger with Debug: Start Debugging (F5) with configuration Python: Remote Attach