SAGA 9.6.1 | Tool Library Documentation

Get Subset from Virtual Point Cloud


Description

The tool allows one to retrieve a point cloud from a virtual point cloud dataset by applying the provided area-of-interest (AOI). The extent of the AOI can be provided either as polygon shapefile, grid or by coordinates. Optionally, an overlap can be added to the AOI and a spcvf tile info file can be outputted. The latter can be used to remove the overlap later. In case an overlap is used and the AOI is provided as polygon shapfile, only the bounding boxes of the polygons are used. With polygon shapefiles additional functionality is available: * in case one or more polygons are selected, only the selected polygons are used. * in case the shapefile contains several polygons and the 'One Point Cloud per Polygon' parameter is checked, a point cloud dataset is outputted for each polygon. In case the 'Tilename' attribute is provided, the output files are named by this attribute. Otherwise the output file names are build from the lower left coordinate of each tile. The derived datasets can be outputted either as point cloud list or written to an output directory. For the latter, you must provide a valid file path with the 'Optional Output Filepath' parameter. Optionally, the query can be constrained by providing an attribute field and a value range that must be met. A virtual point cloud dataset is a simple XML format with the file extension .spcvf, which can be created with the 'Create Virtual Point Cloud Dataset' tool.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapeshapes, input, optionalAOI_SHPShapefile describing the AOI.-
Gridgrid, input, optionalAOI_GRIDGrid describing the AOI.-
OutputPoint Cloudpoint cloud list, output, optionalPC_OUTThe output point cloud(s)-
OptionsFilenamefile pathFILENAMEThe full path and name of the .spcvf file-
Optional Output Filepathfile pathFILEPATHThe full path to which the output(s) should be written. Leave empty to output the datasets as point cloud list.-
Copy existing AttributesbooleanCOPY_ATTRCopy attributes from input to output point cloud.Default: 1
Copy AttributestextATTRIBUTE_LISTField numbers (starting from 1) of the attributes to copy, separated by semicolon; fields one to three (x;y;z) are mandatory.Default: 1;2;3
Constrain QuerybooleanCONSTRAIN_QUERYCheck this parameter to constrain the query by an attribute range.Default: 0
Attribute Fieldinteger numberATTR_FIELDThe attribute field to use as constraint. Field numbers start with 1.Minimum: 1 Default: 1
Value Rangevalue rangeVALUE_RANGEMinimum and maximum of attribute range [].-
Tilenametable fieldFIELD_TILENAMEAttribute used for naming the output file(s)-
Grid systemgrid systemAOI_GRID_GRIDSYSTEM--
X-Extentvalue rangeAOI_XRANGEMinimum and maximum x-coordinate of AOI.-
Y-Extentvalue rangeAOI_YRANGEMinimum and maximum y-coordinate of AOI.-
Add OverlapbooleanAOI_ADD_OVERLAPAdd overlap to AOIDefault: 0
Overlapfloating point numberOVERLAPOverlap [map units]Minimum: 0.000000 Default: 50.000000
Optional Tile Info Filenamefile pathFILENAME_TILE_INFOThe full path and name of an optional spcvf tile info file. Such a file contains information about the bounding boxes without overlap and can be used to remove the overlap from the tiles later. Leave empty to not output such a file.-
One Point Cloud per PolygonbooleanONE_PC_PER_POLYGONWrite one point cloud dataset for each polygonDefault: 0

Command Line


Usage: saga_cmd io_virtual 1 [-FILENAME ] [-PC_OUT ] [-FILEPATH ] [-COPY_ATTR ] [-ATTRIBUTE_LIST ] [-CONSTRAIN_QUERY ] [-ATTR_FIELD ] [-VALUE_RANGE_MIN ] [-VALUE_RANGE_MAX ] [-AOI_SHP ] [-FIELD_TILENAME ] [-AOI_GRID ] [-AOI_XRANGE_MIN ] [-AOI_XRANGE_MAX ] [-AOI_YRANGE_MIN ] [-AOI_YRANGE_MAX ] [-AOI_ADD_OVERLAP ] [-OVERLAP ] [-FILENAME_TILE_INFO ] [-ONE_PC_PER_POLYGON ]
  -FILENAME:          	Filename
	file path
  -PC_OUT:            	Point Cloud
	point cloud list, output, optional
  -FILEPATH:          	Optional Output Filepath
	file path
  -COPY_ATTR:         	Copy existing Attributes
	boolean
	Default: 1
  -ATTRIBUTE_LIST:    	Copy Attributes
	text
	Default: 1;2;3
  -CONSTRAIN_QUERY:   	Constrain Query
	boolean
	Default: 0
  -ATTR_FIELD:        	Attribute Field
	integer number
	Minimum: 1
	Default: 1
  -VALUE_RANGE_MIN:	Value Range
	value range
  -VALUE_RANGE_MAX:	Value Range
	value range
  -AOI_SHP:           	Shape
	shapes, input, optional
  -FIELD_TILENAME:    	Tilename
	table field
  -AOI_GRID:          	Grid
	grid, input, optional
  -AOI_XRANGE_MIN: 	X-Extent
	value range
  -AOI_XRANGE_MAX: 	X-Extent
	value range
  -AOI_YRANGE_MIN: 	Y-Extent
	value range
  -AOI_YRANGE_MAX: 	Y-Extent
	value range
  -AOI_ADD_OVERLAP:   	Add Overlap
	boolean
	Default: 0
  -OVERLAP:        	Overlap
	floating point number
	Minimum: 0.000000
	Default: 50.000000
  -FILENAME_TILE_INFO:	Optional Tile Info Filename
	file path
  -ONE_PC_PER_POLYGON:	One Point Cloud per Polygon
	boolean
	Default: 0