satellit_sam.core.geotiff
satellit_sam.core.geotiff
Auto-generated from
satellit_sam/src/satellit_sam/core/geotiff.pybysatellit_sam/scripts/generate_api_docs.py.
GeoTIFF metadata loading utilities for geospatial workflows.
Functions
No public module-level functions.
Classes
GeoTiffMeta
Metadata needed for mapping inventory points into raster pixel space.
Attributes
crs_wkt: str | Noneheight: intnodata_band_1: float | Noneorigin_x: floatorigin_y: floatpixel_size_x: floatpixel_size_y: floatwidth: int
Methods
load_tif
def load_tif(tif_path: Path) -> "GeoTiffMeta":
Load GeoTIFF metadata from disk.
Arguments
tif_path: Path to a GeoTIFF raster.
Returns
Parsed geospatial metadata for the raster.
Exceptions
FileNotFoundError: If the file cannot be opened by GDAL. ValueError: If the raster does not provide geotransform metadata.