kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
2bacc2da68
commit
e7ff30600d
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue