Skip to content

Giswater/giswater_dbmodel

Repository files navigation

Giswater DB Model

Giswater Dbmodel Badge LICENSE CI Testing UD CI Testing WS

Giswater revolutionizes water management by simplifying the planning and control of water supply networks without costly investments. Since its launch in 2014, Giswater is the first open-source software designed for integrated water management, connecting IT solutions and databases for high-performance management systems. It integrates seamlessly with hydraulic modeling software like EPANET and SWMM, making it indispensable for professionals and organizations in water management.

Features

  • Open-source tool for complete water cycle management.
  • Works with hydraulic tools (EPANET, EPA SWMM) and GIS systems.
  • Integrates with business management tools (ERP, CRM, BI).
  • Compatible with Windows, Mac, and Linux (for most features)

Table of Contents

  1. Requirements
  2. Installation
  3. Testing
  4. Deployment
  5. Wiki
  6. FAQ
  7. Repositories
  8. Versioning
  9. License
  10. Acknowledgements

Requirements

To use Giswater, you need:

  • PostgreSQL: Ensure pgAdmin/dbeaver (DB manager) and PostGIS (spatial extension) are installed.
  • QGIS: Geoprocessing software for frontend use.

Installation

Giswater is a client-server system requiring installation on both the backend and frontend.

Backend Environment:

  • Compatible with Windows, Mac, and Linux.
  • Install PostgreSQL (versions 9.5 to 14).
  • Enable the following extensions:
CREATE EXTENSION postgis;
CREATE EXTENSION pgrouting;
CREATE EXTENSION tablefunc;
CREATE EXTENSION unaccent;

Frontend Environment:

  • Compatible with Windows, Mac, and Linux. EPA models work best on Windows.
  • Install QGIS (latest LTR version).
  • Install SWMM (5.1) and EPANET (2.2). Note: EPA models may not work fully on Linux.

Testing

Example projects with integrated datasets are available to test the system. Check out these tutorial videos to set up your environment:

  1. Install plugin
  2. Setup connection
  3. Create DB schema example
  4. Create QGIS project

Deployment

Prerequisites:

  • Ensure you have PostgreSQL access with DB superuser permissions for tasks like schema creation, roles, backups, and restoration.

Mandatory Project Setup:

  • Fill required catalogs: materials, node, and arc.
  • Define inventory layers (network shapes) with required fields.
  • Set up mapzones: e.g., macroexploitation, municipality, sector.

Start by creating two nodes; then, insert arcs. For configuration options, visit the Giswater configuration guide.

Getting Started:

Wiki

For comprehensive documentation, visit the Giswater Wiki.

FAQs

Check out the FAQs section for common questions.

Repositories

Other repositories are either deprecated or not in use.

Versioning

Giswater follows a three-tier release system: Major, Minor, and Build updates.

  • Major: Architecture updates (not backward compatible).
  • Minor: Bug fixes, new functionalities (backward compatible).
  • Build: Small fixes, monthly releases.

License

This software is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Acknowledgements

Special thanks to the following partners for their contributions:

  • GITS-BarcelonaTech University
  • Aigües de Mataró
  • Aigües de Girona
  • Aigües de Blanes
  • Aigües del Prat
  • Aigües de Vic
  • Aigües de Castellbisbal
  • Aigües de Banyoles
  • Figueres de Serveis, S.A
  • Prodaisa
  • Sabemsa
  • Consorci Aigües de Tarragona

About

SQL files for database model

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 34