ENVIPointCloudQuery is a reference to a point cloud object that has not been built into an optimized file format. For details on creating an ENVIPointCloudQuery object, see ENVI::QueryPointCloud.
Example
e = ENVI(/HEADLESS)
file = FILEPATH('DataSample.las', ROOT_DIR=e.ROOT_DIR, $
SUBDIRECTORY = ['data','lidar'])
pointcloudQuery = e.QueryPointCloud(file)
print, 'Number of points = ', pointcloudQuery.NPOINTS
print, 'Data range =' , pointcloudQuery.DATA_RANGE
pointcloudQuery.Close
Methods
GetPointsInRange
Close
Properties
Properties marked as (Get) can be retrieved, but not set.
DATA_RANGE (Get)
This property retrieves a six-element array containing the boundary of the entire data space, in the form [xmin, ymin, zmin, xmax, ymax, zmax].
The DATA_RANGE values use the coordinate system of the dataset (see the SPATIALREF property).
METADATA (Get)
This property retrieves a reference to the ENVIPointCloudMetadata object.
NPOINTS (Get)
An unsigned long value containing the total number of points in the dataset.
SPATIALREF (Get)
A reference to an ENVIPointCloudSpatialRef object that contains the coordinate system information for this point cloud data. If there is no coordinate system information (for example, the LAS header does not contain it) then this property will return !NULL.
URI (Get)
A string that is the fully-qualified point cloud filepath that was passed to ENVI::QueryPointCloud().
Version History
API Version
4.3
See Also
ENVI::OpenPointCloud, ENVIPointCloud, ENVIPointCloudSpatialRef