Skip to main content

Module raster

Module raster 

Source
Expand description

Raster utilities for CLI operations

Structs§

CogWriteOptions
Options for writing a Cloud-Optimized GeoTIFF.
RasterInfo
Raster metadata extracted from a file

Functions§

calculate_subset_geotransform
Calculate output geotransform for a subset operation
geo_to_pixel_window
Calculate pixel window from geographic bounding box
read_band
Read a single band from a GeoTIFF file at the primary level
read_band_region
Read a region from a specific band of a GeoTIFF file
read_raster_info
Read raster metadata from a GeoTIFF file
read_raster_info_uri
Reads raster info from a URI or bare file path.
write_multi_band
Write multiple bands to a GeoTIFF file
write_raster_cog
Writes raster bands to a Cloud-Optimized GeoTIFF (COG).
write_single_band
Write a single band to a GeoTIFF file