ENVIPointCloudProductsInfo

The ENVIPointCloudProductsInfo object stores the fully-qualified filenames for all products generated by the PointCloudFeatureExtraction task. Use the OUTPUT_PRODUCTS_INFO parameter in that task to get the ENVIPointCloudProductsInfo object for the specified INPUT_POINT_CLOUD.

Example

; Create a headless instance

e = ENVI(/HEADLESS)

 

; Open a las file

file = FILEPATH('DataSample.las', ROOT_DIR=e.ROOT_DIR, $

SUBDIRECTORY = ['data','lidar'])

pointcloud = e.OpenPointCloud(file, $

  PROJECT_URI=Filepath('DataSample', /TMP))

 

; Process a 300m x 300m subrect

subset = ENVISpatialSubsetPointCloud(pointcloud, [593847.0, 5289683.0, 594147.00, 5289983.0])

 

; Get the point cloud feature extraction task from the catalog of ENVI tasks

Task = ENVITask('PointCloudFeatureExtraction')

 

; Define inputs, select DEM, buildings and trees for generation

; and accept defaults for everything else

Task.INPUT_POINT_CLOUD = Subset

Task.DEM_GENERATE = 1

Task.BUILDINGS_GENERATE = 1

Task.TREES_GENERATE = 1

print, 'Executing Point Cloud Feature Extraction Task'

Task.Execute

 

; Get and print the generated products information

productsInfo = Task.OUTPUT_PRODUCTS_INFO

print, productsInfo

 

; Close the point cloud object

pointcloud.Close

Methods

Dehydrate

Hydrate

Properties

The products returned will refer to the most recent products generated by ENVI LiDAR processing.

BUILDINGS_URI

A string containing the fully-qualified filename for the Buildings product.

BUILDING_PERIMETERS_URI

A string containing the fully-qualified filename for the Building Perimeters product.

DEM_CONTOURS_URI

A string containing the fully-qualified filename for the DEM Contours product.

DEM_URI

A string containing the fully-qualified filename for the DEM product.

DEM_TIN_URI (also known as Terrain TIN)

A string containing the fully-qualified filename for the DEM TIN product.

DSM_URI

A string containing the fully-qualified filename for the DSM product.

ORTHOPHOTO_URI

A string containing the fully-qualified filename for the Orthophoto product.

POINTCLOUD_URI

An array of strings containing the fully-qualified filenames for the Point Cloud products.

POWERLINES_URI

A string containing the fully-qualified filename for the Power Lines product.

TREES_URI

A string containing the fully-qualified filename for the Trees product.

Version History

ENVI 5.3

Introduced

ENVI 5.3.2 Added Dehydrate method

ENVI 5.4

Added Hydrate method

API Version

4.2

See Also

PointCloudFeatureExtraction Task