Removed unused maxangle parameter

pull/955/head
Piero Toffanin 2019-03-02 16:45:38 -05:00
rodzic 366481a26d
commit b2a81c7b97
3 zmienionych plików z 2 dodań i 11 usunięć

Wyświetl plik

@ -423,14 +423,6 @@ def config():
help='DSM/DTM resolution in cm / pixel.'
'\nDefault: %(default)s')
parser.add_argument('--dem-maxangle',
metavar='<positive float>',
type=float,
default=20,
help='Points that are more than maxangle degrees off-nadir are discarded. '
'\nDefault: '
'%(default)s')
parser.add_argument('--dem-maxsd',
metavar='<positive float>',
type=float,

Wyświetl plik

@ -60,7 +60,7 @@ def create_dems(filenames, demtype, radius=['0.56'], gapfill=False,
def create_dem(filenames, demtype, radius, decimation=None,
maxsd=None, maxz=None, maxangle=None, returnnum=None,
maxsd=None, maxz=None,
products=['idw'], outdir='', suffix='', verbose=False, resolution=0.1):
""" Create DEM from collection of LAS files """
start = datetime.now()
@ -77,7 +77,7 @@ def create_dem(filenames, demtype, radius, decimation=None,
# A DSM for meshing does not use additional filters
if demtype != 'mesh_dsm':
json = pdal.json_add_filters(json, maxsd, maxz, maxangle, returnnum)
json = pdal.json_add_filters(json, maxsd, maxz)
if demtype == 'dsm':
json = pdal.json_add_classification_filter(json, 2, equality='max')

Wyświetl plik

@ -106,7 +106,6 @@ class ODMDEMCell(ecto.Cell):
outdir=odm_dem_root,
resolution=resolution / 100.0,
maxsd=args.dem_maxsd,
maxangle=args.dem_maxangle,
decimation=args.dem_decimation,
verbose=args.verbose,
max_workers=get_max_concurrency_for_dem(args.max_concurrency,tree.odm_georeferencing_model_laz)