BUG: do not filter when genering a DSM

Former-commit-id: accfada3d7
pull/1161/head
Piero Toffanin 2020-07-09 12:07:42 -04:00
rodzic 2bacc2da68
commit e7ff30600d
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -169,9 +169,7 @@ def create_dem(input_point_cloud, dem_type, output_type='max', radiuses=['0.56']
d = pdal.json_gdal_base(q['filename'], output_type, q['radius'], resolution, q['bounds'])
if dem_type == 'dsm':
d = pdal.json_add_classification_filter(d, 2, equality='max')
elif dem_type == 'dtm':
if dem_type == 'dtm':
d = pdal.json_add_classification_filter(d, 2)
if decimation is not None: