Skip to content

Commit 6c9b98e

Browse files
authored
Merge pull request #255 from 3DBAG/253-remove-ahn-200m-tiles-from-the-pipeline
Remove ahn 200m tiles from the pipeline
2 parents ecaf8c1 + dab0fe1 commit 6c9b98e

26 files changed

+1139
-1321
lines changed

docker/pipeline/bag3d-core.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM 3dgi/3dbag-pipeline-tools:2025.08.06 AS develop
1+
FROM 3dgi/3dbag-pipeline-tools:2025.08.07 AS develop
22
ARG VERSION=develop
33
ARG BAG3D_PIPELINE_LOCATION=/opt/3dbag-pipeline
44

docker/pipeline/bag3d-floors-estimation.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM 3dgi/3dbag-pipeline-tools:2025.08.06 AS develop
1+
FROM 3dgi/3dbag-pipeline-tools:2025.08.07 AS develop
22
ARG VERSION=develop
33
ARG BAG3D_PIPELINE_LOCATION=/opt/3dbag-pipeline
44

docker/pipeline/bag3d-party-walls.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM 3dgi/3dbag-pipeline-tools:2025.08.06 AS develop
1+
FROM 3dgi/3dbag-pipeline-tools:2025.08.07 AS develop
22
ARG VERSION=develop
33
ARG BAG3D_PIPELINE_LOCATION=/opt/3dbag-pipeline
44

docker/tools/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ FROM roofer AS geoflow-old
109109
ARG JOBS=2
110110
ARG BAG3D_PIPELINE_LOCATION=/opt/3dbag-pipeline
111111

112-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/bin/geof $BAG3D_PIPELINE_LOCATION/tools/bin/geof
113-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /export /export
114-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/src/FileGDB/lib/. /usr/local/src/FileGDB/lib
115-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/lib/libfgdbunixrtl.so /usr/local/lib/libfgdbunixrtl.so
116-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/lib/LASlib /export/usr/local/lib/
117-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/lib/gdalplugins /export/usr/local/lib/
118-
COPY --from=3dgi/geoflow-bundle-builder:2025.07.30 /usr/local/lib/geoflow-plugins/. $BAG3D_PIPELINE_LOCATION/tools/share/geoflow-bundle/plugins
112+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/bin/geof $BAG3D_PIPELINE_LOCATION/tools/bin/geof
113+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /export /export
114+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/src/FileGDB/lib/. /usr/local/src/FileGDB/lib
115+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/lib/libfgdbunixrtl.so /usr/local/lib/libfgdbunixrtl.so
116+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/lib/LASlib /export/usr/local/lib/
117+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/lib/gdalplugins /export/usr/local/lib/
118+
COPY --from=3dgi/geoflow-bundle-builder:2025.08.07 /usr/local/lib/geoflow-plugins/. $BAG3D_PIPELINE_LOCATION/tools/share/geoflow-bundle/plugins
119119
ENV GF_PLUGIN_FOLDER=$BAG3D_PIPELINE_LOCATION/tools/share/geoflow-bundle/plugins
120120

121121
RUN echo /export/usr/local/lib >> /etc/ld.so.conf.d/geoflow.conf; \

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ include .env
107107
download:
108108
rm -rf $(BAG3D_TEST_DATA)
109109
mkdir -p $(BAG3D_TEST_DATA)
110-
cd $(BAG3D_TEST_DATA) ; curl -O https://data.3dbag.nl/testdata/pipeline/test_data_v11.zip ; unzip -q test_data_v11.zip ; rm test_data_v11.zip
110+
cd $(BAG3D_TEST_DATA) ; curl -O https://data.3dbag.nl/testdata/pipeline/test_data_v12.zip ; unzip -q test_data_v12.zip ; rm test_data_v12.zip
111111

112112

113113
install_uv:

packages/common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dev = [
4242
# Need this block here so that ruff includes this package's files. The ruff config is in the root pyproject.toml file.
4343

4444
[tool.uv.sources]
45-
pgutils = { git = "https://github.com/balazsdukai/pgutils.git", rev = "2024.1013" }
45+
pgutils = { git = "https://github.com/balazsdukai/pgutils.git", rev = "2025.1015" }
4646
bag3d-specs = { git = "https://github.com/3DBAG/3dbag-specs.git", branch = "develop" }
4747

4848
[tool.pytest.ini_options]

packages/common/src/bag3d/common/utils/geodata.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def pdal_info(
242242
"""Run 'pdal info' on a point cloud file.
243243
244244
Args:
245+
verbose: Return stdout/stderr from pdal
245246
pdal (AppImage): The pdal AppImage executable.
246247
file_path: Path to the point cloud file.
247248
with_all: If true, run ``pdal info --all``, else run ``pdal info --metadata``.
@@ -258,8 +259,8 @@ def pdal_info(
258259
return_code, output = pdal.execute(
259260
"pdal", command=" ".join(cmd_list), local_path=file_path, silent=(not verbose)
260261
)
261-
262-
return return_code, json.loads(output)
262+
output_processed = output.replace("\\u0000", "")
263+
return return_code, json.loads(output_processed)
263264

264265

265266
def geojson_poly_to_wkt(geometry) -> str:

packages/common/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ def test_data_dir():
110110

111111
@pytest.fixture(scope="session")
112112
def laz_files_ahn3_dir(test_data_dir):
113-
yield test_data_dir / "reconstruction_input/pointcloud/AHN3/tiles_200m/"
113+
yield test_data_dir / "reconstruction_input/pointcloud/AHN3/as_downloaded/LAZ"

packages/common/tests/test_resources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_pdal_local(laz_files_ahn3_dir):
4141
"""Use local PDAL installation"""
4242
pdal = PDALResource(exe_pdal=EnvVar("EXE_PATH_PDAL").get_value())
4343
assert not pdal.with_docker
44-
filepath = laz_files_ahn3_dir / "t_1042098.laz"
44+
filepath = laz_files_ahn3_dir / "C_32BZ2.LAZ"
4545
return_code, output = pdal_info(pdal.app, filepath, with_all=True)
4646
assert return_code == 0
4747

@@ -55,7 +55,7 @@ def test_lastools(laz_files_ahn3_dir):
5555

5656
lastools = lastools_resource.app
5757

58-
filepath = laz_files_ahn3_dir / "t_1042098.laz"
58+
filepath = laz_files_ahn3_dir / "C_32BZ2.LAZ"
5959

6060
cmd_list = [
6161
"{exe}",

0 commit comments

Comments
 (0)