Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instantiate bd_uni_connection_params externally to fix bv optimization. #98

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.


3 changes: 3 additions & 0 deletions lidar_prod/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from lidar_prod.tasks.building_validation_optimization import (
BuildingValidationOptimizer,
)
from lidar_prod.tasks.utils import BDUniConnectionParams

log = logging.getLogger(__name__)

Expand All @@ -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()


Expand Down
2 changes: 1 addition & 1 deletion package_metadata.yaml
Original file line number Diff line number Diff line change
@@ -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."
Expand Down
Loading