From d1360836ee666a1980abf5aa8bcee4bf035957e8 Mon Sep 17 00:00:00 2001 From: Shuo Zhong Date: Fri, 22 Aug 2025 17:41:20 -0500 Subject: [PATCH] add forward option to retain las file scale and offset --- opendm/dem/pdal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opendm/dem/pdal.py b/opendm/dem/pdal.py index 2c0b8e4e1..b38c51045 100644 --- a/opendm/dem/pdal.py +++ b/opendm/dem/pdal.py @@ -164,6 +164,7 @@ def run_pdaltranslate_smrf(fin, fout, scalar, slope, threshold, window): '--filters.smrf.slope=%s' % slope, '--filters.smrf.threshold=%s' % threshold, '--filters.smrf.window=%s' % window, + '--writers.las.forward=scale,offset' ] system.run(' '.join(cmd))