diff --git a/opendm/dem/commands.py b/opendm/dem/commands.py index e7e1e327..0d4683d6 100755 --- a/opendm/dem/commands.py +++ b/opendm/dem/commands.py @@ -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: