Skip to content

Commit d505192

Browse files
authored
add forward option to retain las file scale and offset (#1915)
1 parent 5d4862e commit d505192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opendm/dem/pdal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def run_pdaltranslate_smrf(fin, fout, scalar, slope, threshold, window):
164164
'--filters.smrf.slope=%s' % slope,
165165
'--filters.smrf.threshold=%s' % threshold,
166166
'--filters.smrf.window=%s' % window,
167+
'--writers.las.forward=scale,offset'
167168
]
168169

169170
system.run(' '.join(cmd))

0 commit comments

Comments
 (0)