From db6ddf42bd7b4751098469d48cf6736bb66cd6fe Mon Sep 17 00:00:00 2001 From: mikethefarmer <49046264+mikethefarmer@users.noreply.github.com> Date: Fri, 29 Mar 2019 11:10:27 +1100 Subject: [PATCH 1/2] Update External-PDAL.cmake Former-commit-id: 86cc846d8e3ab072b49ec5d7b7e3a897c7011953 --- SuperBuild/cmake/External-PDAL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SuperBuild/cmake/External-PDAL.cmake b/SuperBuild/cmake/External-PDAL.cmake index 1c247f92..a2d6b7cc 100644 --- a/SuperBuild/cmake/External-PDAL.cmake +++ b/SuperBuild/cmake/External-PDAL.cmake @@ -8,7 +8,7 @@ ExternalProject_Add(${_proj_name} STAMP_DIR ${_SB_BINARY_DIR}/stamp #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} - URL https://github.com/PDAL/PDAL/archive/1.6.zip + URL https://github.com/PDAL/PDAL/archive/1.8.0.zip #--Update/Patch step---------- UPDATE_COMMAND "" #--Configure step------------- From da6a0dab588aea5cb0c62a30ab112f5a61668ef0 Mon Sep 17 00:00:00 2001 From: mikethefarmer <49046264+mikethefarmer@users.noreply.github.com> Date: Sat, 30 Mar 2019 12:30:02 +1100 Subject: [PATCH 2/2] Add '--nostream' to pdal pipeline Streaming mode is default for 1.8.0 but also requires the '--bounds' parameter. Until this can be incorporated use the old standard mode (which moves all points into memory) through '--nostream'. Former-commit-id: 86adc71f854eaa182ccb0c762681d75186b00f0d --- opendm/dem/pdal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opendm/dem/pdal.py b/opendm/dem/pdal.py index d50179a9..4a69b383 100644 --- a/opendm/dem/pdal.py +++ b/opendm/dem/pdal.py @@ -155,6 +155,7 @@ def run_pipeline(json, verbose=False): cmd = [ 'pdal', 'pipeline', + '--nostream', '-i %s' % jsonfile ] if verbose: