diff --git a/SuperBuild/cmake/External-PDAL.cmake b/SuperBuild/cmake/External-PDAL.cmake index 37afd7c6..7faae6e2 100644 --- a/SuperBuild/cmake/External-PDAL.cmake +++ b/SuperBuild/cmake/External-PDAL.cmake @@ -7,8 +7,8 @@ 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.4.0.tar.gz - URL_MD5 e55c17902d3ed6364454c9d1ad62ff43 + URL https://github.com/PDAL/PDAL/archive/aea5bb0cacc64b91d626eff491fbdbb5668c06d7.tar.gz + URL_MD5 726933f63f661e11e13775d6ce4e5ed0 #--Update/Patch step---------- UPDATE_COMMAND "" #--Configure step------------- diff --git a/opendm/types.py b/opendm/types.py index b874bcec..54892e94 100644 --- a/opendm/types.py +++ b/opendm/types.py @@ -182,7 +182,9 @@ class ODM_GeoRef(object): ' }},' \ ' {{' \ ' "a_srs":"EPSG:{epsg}",' \ - ' "forward":"scale",' \ + ' "offset_x":"{east}",' \ + ' "offset_y":"{north}",' \ + ' "offset_z":"0",' \ ' "filename":"transformed.las"' \ ' }}' \ ' ]' \ @@ -219,8 +221,11 @@ class ODM_GeoRef(object): ' "radius":"{sample_radius}"' \ ' }},' \ ' {{' \ - ' "type":"filters.pmf",' \ - ' "extract":"true"' \ + ' "type":"filters.pmf"' \ + ' }},' \ + ' {{' \ + ' "type":"filters.range",' \ + ' "limits":"Classification[2:2]"' \ ' }},' \ ' {{' \ ' "resolution": {gdal_res},' \