tf_point_cloud_metadata
Returns metadata for one or more las
or laz
point cloud/LiDAR files from a local file or directory source, optionally constraining the bounding box for metadata retrieved to the lon/lat bounding box specified by the x_min
, x_max
, y_min
, y_max
arguments.
Note: specified path must be contained in global allowed-import-paths
, otherwise an error will be returned.
Input Arguments
path
The path of the file or directory containing the las/laz file or files. Can contain globs. Path must be in allowed-import-paths
.
TEXT ENCODING NONE
x_min
(optional)
Min x-coordinate value for point cloud files to retrieve metadata from.
DOUBLE
x_max
(optional)
Max x-coordinate value for point cloud files to retrieve metadata from.
DOUBLE
y_min
(optional)
Min y-coordinate value for point cloud files to retrieve metadata from.
DOUBLE
y_max
(optional)
Max y-coordinate value for point cloud files to retrieve metadata from.
DOUBLE
Output Columns
file_path
Full path for the las or laz file
Column<TEXT ENCODING DICT>
file_name
Filename for the las or laz file
Column<TEXT ENCODING DICT>
file_source_id
File source id per file metadata
Column<SMALLINT>
version_major
LAS version major number
Column<SMALLINT>
version_minor
LAS version minor number
Column<SMALLINT>
creation_year
Data creation year
Column<SMALLINT>
is_compressed
Whether data is compressed, i.e. LAZ format
Column<BOOLEAN>
num_points
Number of points in this file
Column<BIGINT>
num_dims
Number of data dimensions for this file
Column<SMALLINT>
point_len
Not currently used
Column<SMALLINT>
has_time
Whether data has time value
COLUMN<BOOLEAN>
has_color
Whether data contains rgb color value
COLUMN<BOOLEAN>
has_wave
Whether data contains wave info
COLUMN<BOOLEAN>
has_infrared
Whether data contains infrared value
COLUMN<BOOLEAN>
has_14_point_format
Data adheres to 14-attribute standard
COLUMN<BOOLEAN>
specified_utm_zone
UTM zone of data
Column<INT>
x_min_source
Minimum x-coordinate in source projection
Column<DOUBLE>
x_max_source
Maximum x-coordinate in source projection
Column<DOUBLE>
y_min_source
Minimum y-coordinate in source projection
Column<DOUBLE>
y_max_source
Maximum y-coordinate in source projection
Column<DOUBLE>
z_min_source
Minimum z-coordinate in source projection
Column<DOUBLE>
z_max_source
Maximum z-coordinate in source projection
Column<DOUBLE>
x_min_4326
Minimum x-coordinate in lon/lat degrees
Column<DOUBLE>
x_max_4326
Maximum x-coordinate in lon/lat degrees
Column<DOUBLE>
y_min_4326
Minimum y-coordinate in lon/lat degrees
Column<DOUBLE>
y_max_4326
Maximum y-coordinate in lon/lat degrees
Column<DOUBLE>
z_min_4326
Minimum z-coordinate in meters above sea level (AMSL)
Column<DOUBLE>
z_max_4326
Maximum z-coordinate in meters above sea level (AMSL)
Column<DOUBLE>
Example