|
| 1 | +# GISWATER DBMODEL |
| 2 | + |
| 3 | +Water management has always been complex and expensive. It has always been difficult to plan new water supply networks or effectively |
| 4 | +control existing ones without making further capital investments. Nonetheless all these situations have come to an end. |
| 5 | +Since 2014 when GISWATER was born, it have been the first open source software specifically designed for water supply and water management. |
| 6 | +This software connects different IT solutions and pre-existent databases allowing you to setup a high performance management system in combination |
| 7 | +with hydraulic software as well EPANET or SWMM. |
| 8 | + |
| 9 | +GISWATER is the first open source tool for the integral water cycle management (water supply, sewerage or flood risks). |
| 10 | +It was especially developed and designed for city councils, municipality administrations, water and sewerage services concessionary companies |
| 11 | +and hydraulic professionals. Giswater is a driver that connects different hydraulic analysis tools and spatial database through which the user |
| 12 | +has access from any geographic information system (GIS). It is compatible with all the elements that compose a water supply or sewerage management |
| 13 | +system like EPANET, EPA SWMM, GIS, WMS or SCADA and therefore it can be incorporated to the informatic ecosystem of any entity or company dedicated |
| 14 | +to water management and multiply its benefits. |
| 15 | +It is also possible to integrate business management tools like ERP, CRM or Business Intelligence and also corporate mobile devices. |
| 16 | + |
| 17 | +GISWATER is developed in Python and PL/SQL. It is compatible with any spatial database and with all GIS systems. |
| 18 | + |
| 19 | + |
| 20 | +## GETTING STARTED |
| 21 | +Here after you will find all the information you need to getting started with Giswater |
| 22 | + 1- Requirements |
| 23 | + 2- Install |
| 24 | + 3- Test |
| 25 | + 4- Deployment |
| 26 | + 5- Wiki |
| 27 | + 6- FAQ's |
| 28 | + 6- Versioning |
| 29 | + 7- License |
| 30 | + 8- Thanks |
| 31 | + |
| 32 | + |
| 33 | +## REQUIREMENTS |
| 34 | +To work with Giswater you will need at least 2 programs: |
| 35 | + |
| 36 | +PostgreSQL: Installation process must include the selection pgAdmin component (Data Base Manager) and Postgis application (Spatial Extension) |
| 37 | +QGIS: Geoprocessing software |
| 38 | + |
| 39 | + |
| 40 | +## INSTALL |
| 41 | +As Giswater is as server-client software you need to install it into two separate environments |
| 42 | + |
| 43 | +# Backend environment (linux, windows or mac) |
| 44 | + Install PostgreSQL (from 9.5 to 14) |
| 45 | + Install Postgis, pgrouting, tablefunc and unaccent extensions for PostgreSQL |
| 46 | + `create extension postgis;` |
| 47 | + `create extension pgrouting;` |
| 48 | + `create extension tablefunc;` |
| 49 | + `create extension unaccent;` |
| 50 | + |
| 51 | +# Frontend environment (windows to enjoy 100% capabilities) |
| 52 | + Install QGIS (always last LTR) |
| 53 | + Install SWMM (5.1) and EPANET (2.2) ->If uses linux on front-end EPANET and SWMM will not work properly |
| 54 | + |
| 55 | + |
| 56 | +## TEST |
| 57 | + You can use the example projects, ready to test with lots of dataset integrated |
| 58 | + Here below you can find videos to setup your environment and work with sample data |
| 59 | + Install plugin: https://www.youtube.com/watch?v=EwDRoHY2qAk&list=PLQ-seRm9Djl4hxWuHidqYayHEk_wsKyko&index=4 |
| 60 | + Setup Postgis connection: https://www.youtube.com/watch?v=LJGCUrqa0es&list=PLQ-seRm9Djl4hxWuHidqYayHEk_wsKyko&index=3 |
| 61 | + Create example project schema: https://www.youtube.com/watch?v=nR3PBtfGi9k&list=PLQ-seRm9Djl4hxWuHidqYayHEk_wsKyko&index=2 |
| 62 | + Create QGIS project and work with: https://www.youtube.com/watch?v=RwFumKKTB2k&list=PLQ-seRm9Djl4hxWuHidqYayHEk_wsKyko&index=1 |
| 63 | + |
| 64 | + |
| 65 | +## DEPLOYMENT |
| 66 | + |
| 67 | +# Requirements |
| 68 | +You need to have permissions to connect to postgreSQL database (compatible versions) and your user need to be a db superuser in order to be allowed |
| 69 | +to create project schemas, roles, backups, restores among others db admin operations. |
| 70 | + |
| 71 | +# Mandatory information for the project: |
| 72 | +Project works with catalogs and you need to fill at least the mandatory ones [materials, node, arc]. |
| 73 | +The Inventory Layers are network shape layers, which also includes some mandatory and optional fields that you must know. |
| 74 | +Project also uses mapzones and you need to create at least the mandatory ones [macroexplotation, exploitation, municipality, sector, dma]. |
| 75 | +Finally, you need to know mains about the selectors strategy of Giswater |
| 76 | +To start now, take a look on Start from scratch and enjoy it! |
| 77 | +Another option is start with Giswater loading inp file. Although this is a beta functionality, you can take a look on Import inp file debug |
| 78 | +mode for more info! |
| 79 | + |
| 80 | +# Useful tips: |
| 81 | +With mapzones and catalogs well-defined (at least the mandatory ones) you can insert your first two nodes. After that arc can be inserted too. |
| 82 | +You can get more information for about config options here |
| 83 | + https://github.com/Giswater/giswater_dbmodel/wiki/Config |
| 84 | + |
| 85 | +# Start from scratch |
| 86 | +Here you can find more information with the steps to create an empty project |
| 87 | + https://github.com/Giswater/giswater_dbmodel/wiki/Start-from-Scratch:-Installing-Giswater-and-steps-to-create-an-empty-project |
| 88 | + |
| 89 | +## WIKI |
| 90 | +You can find more information on https://github.com/Giswater/giswater_dbmodel/wiki |
| 91 | + |
| 92 | +## FAQ's |
| 93 | +You can find the Frequent Answers and Questions for project on https://github.com/Giswater/giswater_dbmodel/wiki/FAQs |
| 94 | + |
| 95 | + |
| 96 | +## VERSIONING |
| 97 | +Giswater works using three degrees of releases wich it means that the number three codes: |
| 98 | + Major. Minor. Built |
| 99 | + |
| 100 | +Major: New architecture with new great functionalities without forward compatibility |
| 101 | +Minor: Bug fix and new great functionalities (including refactors) with forward compatibility |
| 102 | +Built: Bug fix and new little functionalities with forward compatibility |
| 103 | + |
| 104 | +The time-period for built releases is one-per-month (12 builts / year) |
| 105 | +The time-period for minor releases is one-per-year (1 minor / year) |
| 106 | +There is no time-period defined for major releases |
| 107 | + |
| 108 | + |
| 109 | +## LICENSE |
| 110 | +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published |
| 111 | +by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE file for more information |
| 112 | + |
| 113 | + |
| 114 | +## THANKS |
| 115 | +GITS-BarcelonaTech University |
| 116 | +Aigües de Mataró |
| 117 | +Aigües de Girona |
| 118 | +Aigües de Blanes |
| 119 | +Aigües del Prat |
| 120 | +Aigües de Vic |
| 121 | +Aigües de Castellbisbal |
| 122 | +Aigües de Banyoles |
| 123 | +Figueres de Serveis, S.A |
| 124 | +Prodaisa |
| 125 | +Sabemsa |
| 126 | +Consorci Aigües de Tarragona |
0 commit comments