femic.lidar_catalog

LidarBC source discovery, tile-index parsing, and AOI selection contracts.

The module treats the public LidarBC feature service as a discovery surface only. It does not download tile bytes or reproject/resample source rasters. Those boundaries belong to the later materialization and product phases.

Functions

bbox_intersects(first, second)

Return whether two BC Albers boxes overlap with positive area.

build_lidarbc_tile_query_url(layer_id, *, ...)

Build one paginated LidarBC tile-index query URL.

discover_lidarbc_tiles(aoi_bbox_epsg3005, ...)

Discover LidarBC tiles intersecting an AOI.

lidarbc_layers_for_product(product)

Return the direct-download layers for one LidarBC product.

normalize_bbox_epsg3005(value)

Validate and normalize a BC Albers bounding box.

tile_from_arcgis_feature(feature, *, ...)

Normalize one ArcGIS tile-index feature into a LidarTile.

write_lidar_selection_manifest(selection, path)

Write a selection manifest as reviewed, pretty-printed JSON.

Classes

LidarCatalogError

Raised when a LiDAR source contract or discovery request is invalid.

LidarProductLayer(product, layer_id, ...)

One direct-download layer in a LiDAR source tile index.

LidarSourceFamily(source_id, title, ...[, notes])

An explicit public LiDAR source contract.

LidarTile(source_id, product, layer_id, ...)

One normalized tile-index record with provenance fields.

LidarTileSelection(source, generated_utc, ...)

An AOI-scoped, provenance-carrying LiDAR tile selection manifest.