Skip to content

Commit fb09cab

Browse files
authored
Merge pull request #83 from tudelft3d/gio-dev
updates for 0.8.11
2 parents e81ad5e + d5f633f commit fb09cab

File tree

9 files changed

+41
-15
lines changed

9 files changed

+41
-15
lines changed

cdb4/ddl_scripts/CHANGELOG.txt

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
Test whether it makes sense to add "hard-coded" bbox filter also to views.
44
Test whether it makes sense to add an update statement to delete trigger functions to reduce number of features in table layer metadata
55

6+
2025-01-23
7+
----------
8+
Version 0.10.6
9+
Fixed functions to work with PostgreSQL 17
10+
Fixed bug in function [qgis_pkg.generate_sql_layers_bridge(...)]
11+
612
2024-12-23
713
----------
814
Version 0.10.5

cdb4/ddl_scripts/postgresql/010_functions.sql

+10-8
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ DECLARE
105105
BEGIN
106106
major_version := 0;
107107
minor_version := 10;
108-
minor_revision := 5;
109-
code_name := 'Snowy holidays';
110-
release_date := '2024-12-23'::date;
108+
minor_revision := 6;
109+
code_name := 'Frosty roads...';
110+
release_date := '2025-01-23'::date;
111111
version := concat(major_version,'.',minor_version,'.',minor_revision);
112112
full_version := concat(major_version,'.',minor_version,'.',minor_revision,' "',code_name,'", released on ',release_date);
113113

@@ -2661,9 +2661,11 @@ REVOKE EXECUTE ON FUNCTION qgis_pkg.compute_schemas_disk_size() FROM public;
26612661
----------------------------------------------------------------
26622662
DROP FUNCTION IF EXISTS qgis_pkg.st_3darea_poly(geometry);
26632663
CREATE OR REPLACE FUNCTION qgis_pkg.st_3darea_poly(
2664-
polygon3d geometry -- must be a 3D polygon
2664+
polygon3d geometry -- must be a 3D polygon
26652665
)
2666-
RETURNS numeric AS $$
2666+
RETURNS numeric
2667+
SET search_path TO public, pg_catalog, pg_temp
2668+
AS $$
26672669
DECLARE
26682670
ring geometry;
26692671
n_points integer;
@@ -2732,9 +2734,9 @@ RETURN area;
27322734

27332735
EXCEPTION
27342736
WHEN QUERY_CANCELED THEN
2735-
RAISE EXCEPTION 'util_pkg.st_3darea_poly(): Error QUERY_CANCELED';
2737+
RAISE EXCEPTION 'qgis_pkg.st_3darea_poly(): Error QUERY_CANCELED';
27362738
WHEN OTHERS THEN
2737-
RAISE EXCEPTION 'util_pkg.st_3darea_poly(): %', SQLERRM;
2739+
RAISE EXCEPTION 'qgis_pkg.st_3darea_poly(): %', SQLERRM;
27382740
END;
27392741
$$ LANGUAGE plpgsql IMMUTABLE;
27402742
COMMENT ON FUNCTION qgis_pkg.st_3darea_poly(geometry) IS 'Returns the 3D area of a 3D polygon';
@@ -2750,7 +2752,7 @@ perform_snapping integer DEFAULT 0, -- i.e. default is 0 ("do nothing"), oth
27502752
digits integer DEFAULT 3, -- number of digits after comma for precision
27512753
area_min numeric DEFAULT 0.0001 -- minimum acceptable area of a polygon
27522754
)
2753-
RETURNS geometry
2755+
RETURNS geometry
27542756
SET search_path TO public, pg_catalog, pg_temp
27552757
AS $$
27562758
DECLARE

cdb4/gui_admin/admin_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# QGIS Package minimum version
1414
QGIS_PKG_MIN_VERSION_MAJOR: int = 0
1515
QGIS_PKG_MIN_VERSION_MINOR: int = 10
16-
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 5
16+
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 6
1717
QGIS_PKG_MIN_VERSION_TXT: str = ".".join([str(QGIS_PKG_MIN_VERSION_MAJOR), str(QGIS_PKG_MIN_VERSION_MINOR), str(QGIS_PKG_MIN_VERSION_MINOR_REV)])
1818

1919
# Path to SQL scripts to install the QGIS Package

cdb4/gui_deleter/deleter_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# QGIS Package minimum version
88
QGIS_PKG_MIN_VERSION_MAJOR: int = 0
99
QGIS_PKG_MIN_VERSION_MINOR: int = 10
10-
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 5
10+
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 6
1111
QGIS_PKG_MIN_VERSION_TXT: str = ".".join([str(QGIS_PKG_MIN_VERSION_MAJOR), str(QGIS_PKG_MIN_VERSION_MINOR), str(QGIS_PKG_MIN_VERSION_MINOR_REV)])
1212

1313
# Check more here: https://doc.qt.io/qt-5/qt.html#GlobalColor-enum

cdb4/gui_loader/loader_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# QGIS Package minimum version
1212
QGIS_PKG_MIN_VERSION_MAJOR: int = 0
1313
QGIS_PKG_MIN_VERSION_MINOR: int = 10
14-
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 5
14+
QGIS_PKG_MIN_VERSION_MINOR_REV: int = 6
1515
QGIS_PKG_MIN_VERSION_TXT: str = ".".join([str(QGIS_PKG_MIN_VERSION_MAJOR), str(QGIS_PKG_MIN_VERSION_MINOR), str(QGIS_PKG_MIN_VERSION_MINOR_REV)])
1616

1717
# Path to QML configuration files

cdb_tools_main_constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Plugin current version
1515
PLUGIN_VERSION_MAJOR: int = 0
1616
PLUGIN_VERSION_MINOR: int = 8
17-
PLUGIN_VERSION_REV: int = 10
17+
PLUGIN_VERSION_REV: int = 11
1818

1919
# Paths
2020
PLUGIN_ABS_PATH: str = os.path.normpath(os.path.dirname(__file__))

metadata.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name=3DCityDB Tools DEV
66
qgisMinimumVersion=3.22
77
description=Tools to visualize and manipulate CityGML 2.0 data stored in the 3D City Database
8-
version=0.8.10
8+
version=0.8.11
99
author=Giorgio Agugiaro, Konstantinos Pantelios
1010
email=g.agugiaro@tudelft.nl, konstantinospantelios@yahoo.com,
1111

@@ -29,7 +29,8 @@ repository=https://github.com/tudelft3d/3DCityDB-Tools-for-QGIS
2929
hasProcessingProvider=no
3030

3131
# Uncomment the following line and add your changelog:
32-
changelog= 0.8.10 Added support for QGIS 3.40, some server-side bug fixes
32+
changelog= 0.8.11 Added support for PostgreSQL 17
33+
0.8.10 Added support for QGIS 3.40, some server-side bug fixes
3334
0.8.9 Minor changes
3435
0.8.8 Minor edits
3536
0.8.7 Bug fixes and minor improvements

shared/gui_about/html/changelog.html

+17
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,23 @@ <h4>Main changes</h4>
6565
<div>
6666
-->
6767

68+
<div id="0.8.11">
69+
<h3>Version 0.8.11 (2025-01-23)</h3>
70+
<h4>Main changes</h4>
71+
<p>
72+
<ul class="l1">
73+
<li>QGIS Package (version 0.10.6)
74+
<ul class="l2">
75+
<li>Adapted functions to work with PostgreSQL 17</li>
76+
<li>Fixed: Bug in Bridge module layers generation</li>
77+
</ul>
78+
</li>
79+
<li>Minor code edits</li>
80+
</ul>
81+
</p>
82+
<div>
83+
84+
6885
<div id="0.8.10">
6986
<h3>Version 0.8.10 (2024-12-23)</h3>
7087
<h4>Main changes</h4>

shared/gui_about/html/license.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html lang="en">
22
<header>
3-
<title>3DCityDB-Tools plugin for QGIS: References</title>
3+
<title>3DCityDB-Tools plugin for QGIS: License</title>
44
<meta name="description" content="References">
55
<meta name="author" content="Giorgio Agugiaro">
66
<meta charset="utf-8">

0 commit comments

Comments
 (0)