VLR that describes the classification names
Entry within the ‘Extra bytes’ LAS VLR
Build to create ExtraBytesEntry
values
Metadata
implementation for LAS/LAZ files
PointReader
implementation for LAS/LAZ files
PointWriter
implementation for LAS/LAZ files.
Point type for LAS point format 0
Point type for LAS point format 1
Point type for LAS point format 2
Point type for LAS point format 3
Point type for LAS point format 4
Point type for LAS point format 5
Point type for LAS point format 6
Point type for LAS point format 7
Point type for LAS point format 8
Point type for LAS point format 9
Point type for LAS point format 10
Returns true
if the given attribute
is a known LAS point attribute. This function only checks the name of
the known attributes and ignores the datatype, so a POSITION_3D
attribute with datatype Vec3f32
is still
considered to be a known LAS attribute (as pasture is able to perform type conversion).
Converts a las-rs Bounds
type into a pasture-core bounding box (AABB<f64>
)
Returns the best matching LAS point format for the given PointLayout
. This method tries to match as many attributes
as possible in the given PointLayout
to attributes that are supported by the LAS format (v1.4) natively. Attributes
that do not have a corresponding LAS attribute are ignored. If no matching attributes are found, LAS point format 0 is
returned, as it is the most basic format.
Returns the offset to the first extra byte in the given LAS point format. Returns None
if the format
has no extra bytes
Converts a pasture-core bounding box (AABB<f64>
) into a las-rs Bounds
type
Tries to determine whether the given path
represents a compressed LAZ file or an uncompressed LAS file
Returns a matching PointLayout
for the given LASMetadata
. This function is similar to point_layout_from_format
, but
also supports extra bytes if the given LASMetadata
contains an Extra Bytes VLR. If it does not, but the point format in
the LASMetadata
indicates that extra bytes are present, the extra bytes will be included in the PointLayout
as raw bytes
Returns the default
PointLayout
for the given LAS point format. If
exact_binary_representation
is true, the
layout mirrors the binary layout of the point records in the LAS format, as defined by the
LAS specification. This means:
Writes the given BitAttributes
in LAS format to the given writer