From 74a2c050a19ef0d4b57c848a481e7b21fa2c70be Mon Sep 17 00:00:00 2001 From: Charles Gaydon Date: Tue, 17 Oct 2023 15:04:44 +0200 Subject: [PATCH 1/2] Instantiate bd_uni_connection_params externally to fix bv optimization. --- lidar_prod/optimization.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lidar_prod/optimization.py b/lidar_prod/optimization.py index 740e8e24..df40c54c 100755 --- a/lidar_prod/optimization.py +++ b/lidar_prod/optimization.py @@ -8,6 +8,7 @@ from lidar_prod.tasks.building_validation_optimization import ( BuildingValidationOptimizer, ) +from lidar_prod.tasks.utils import BDUniConnectionParams log = logging.getLogger(__name__) @@ -30,6 +31,8 @@ def optimize_building( bvo: BuildingValidationOptimizer = hydra.utils.instantiate( config.building_validation.optimization ) + bd_uni_connection_params: BDUniConnectionParams = hydra.utils.instantiate(config.bd_uni_connection_params) + bvo.bv.bd_uni_connection_params = bd_uni_connection_params bvo.run() From 90b28a23be138b4ab830e6b41743965647792283 Mon Sep 17 00:00:00 2001 From: Charles Gaydon Date: Tue, 17 Oct 2023 15:10:47 +0200 Subject: [PATCH 2/2] Update version and add a partial changelog --- CHANGELOG.md | 24 ++++++++++++++++++++++++ package_metadata.yaml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..0a515086 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# main + +# 1.9.12 +- Instantiate bd_uni_connection_params externally to fix BV optimization. + +# 1.9.11 +- Hide credentials to the BD Uni. + +# 1.9.10 +- Add missing "reservoir" category to the BD uni request, alongside buildings. + +# 1.9.9 +- Update PDAL version to V2.5.1. + +# 1.9.8 +- Keep confidence channel in the "reliability" LAS channel. + +# 1.9.7 +- Update PDAL version to V2.5.0. + +# 1.9.6 +- Deal with cases where there are no building over the cloud, by creating an empty shapefile. + + diff --git a/package_metadata.yaml b/package_metadata.yaml index 21cb114d..1cf5a570 100644 --- a/package_metadata.yaml +++ b/package_metadata.yaml @@ -1,4 +1,4 @@ -__version__: "V1.9.11" +__version__: "V1.9.12" __name__: "lidar_prod" __url__: "https://github.com/IGNF/lidar-prod-quality-control" __description__: "A 3D semantic segmentation production tool to augment rule- based Lidar classification with AI and databases."