alsdb.Tile#
- class alsdb.Tile(path: str | Path)[source]#
Wrapper around any LAZ/LAS tile file.
Provides lazy metadata access and a chunked point iterator backed by PDAL. Year, bounding box and CRS are read directly from the file header — no provider-specific filename convention is assumed.
Methods
__init__(path)read([chunk_size, out_crs])Yield structured numpy arrays of LAS points read via PDAL.
Attributes
metadataLazily load and cache full PDAL pipeline metadata (runs
filters.stats).n_pointsTotal number of points in the file (from PDAL metadata).
nameTile metadata (year, bbox, CRS) read from the LAZ file header.
native_bboxReturn
(min_x, min_y, max_x, max_y)in the file's native CRS, as reported byfilters.stats.path