From fb52dd2b58e37ec4ef9b7c484d08c402042fd5da Mon Sep 17 00:00:00 2001 From: Alexandre Teixeira Date: Thu, 1 Apr 2021 22:22:22 -0300 Subject: [PATCH 1/4] Update pghydro_tools.py --- pghydro_tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pghydro_tools.py b/pghydro_tools.py index b5bf982..d3ba650 100644 --- a/pghydro_tools.py +++ b/pghydro_tools.py @@ -1640,7 +1640,7 @@ def Principal_Procedure(self): DrainageLineOffset = self.dlg.lineEdit_DrainageLineOffset.text() - WaterCourseOffset = (int(DrainageLineOffset)/2)+1 + WaterCourseOffset = str(int(int(DrainageLineOffset)/2)+1) self.Turn_OFF_Audit() @@ -1779,7 +1779,7 @@ def Principal_Procedure(self): self.print_console_message('Updating Water Course. Please, wait...\n') sql = """ - SELECT pghydro.pghfn_UpdateWatercourse("""+str(WaterCourseOffset)+"""); + SELECT pghydro.pghfn_UpdateWatercourse("""+WaterCourseOffset+"""); """ self.execute_sql(sql) @@ -2529,4 +2529,4 @@ def run(self): result = self.dlg.exec_() def closeEvent(self, event): - event.accept() \ No newline at end of file + event.accept() From 30cd29f9c8b141723a8c65bacc28443c97b7e3f5 Mon Sep 17 00:00:00 2001 From: Alexandre Teixeira Date: Thu, 1 Apr 2021 22:26:45 -0300 Subject: [PATCH 2/4] Update pghydro_tools_dialog_base.ui --- pghydro_tools_dialog_base.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pghydro_tools_dialog_base.ui b/pghydro_tools_dialog_base.ui index 55ee84d..6ea9c1e 100644 --- a/pghydro_tools_dialog_base.ui +++ b/pghydro_tools_dialog_base.ui @@ -3017,7 +3017,7 @@ - PgHydro Tools Version 3.0 + PgHydro Tools Version 3.2 From 59767fa5ea0f9e11ff58abdaf7c2ed2c60e254b2 Mon Sep 17 00:00:00 2001 From: Alexandre Teixeira Date: Thu, 1 Apr 2021 22:28:54 -0300 Subject: [PATCH 3/4] Update metadata.txt --- metadata.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata.txt b/metadata.txt index 502f11c..946948a 100644 --- a/metadata.txt +++ b/metadata.txt @@ -10,7 +10,7 @@ name=Pghydro Tools qgisMinimumVersion=3.0 description=PgHydro Tools Interface for PgHydro Extension for PostgreSQL/PostGIS -version=3.0 +version=3.2 author=PgHydro Team email=pghydro.project@gmail.com @@ -43,6 +43,7 @@ changelog= - Execution of Vacuum, Analyse and Reindex after each major processing - ... 3.0 - Updated to QGIS 3 + 3.2 - Fix bug in watercourse offset # Tags are comma separated with spaces allowed tags=spatial database system, otto pfafstetter, drainage, hydrology, hydrography, hydro From b93f03f847027d3c1d73a8c7607a56f9f4fa1e56 Mon Sep 17 00:00:00 2001 From: Alexandre Teixeira Date: Thu, 1 Apr 2021 22:29:52 -0300 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a6ae30..15a5e4a 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ To use this plugin, you have to install the PgHydro 6.4 extension for PostgreSQL ## Branches -The master branch has the latest minor release. (3.0) +The master branch has the latest minor release. (3.2) The develop branch has the next minor release. (development) -Next LTR: version 3.2 (March 2022) +Next LTR: version 3.4 (March 2022) Legacy Code QGIS 2.18 Branch (legacy_code_qgis_2.18)