Skip to main content

Crate geotiff_reader

Crate geotiff_reader 

Source
Expand description

Pure-Rust GeoTIFF reader with optional HTTP range-backed remote access.

Supports:

  • GeoTIFF: TIFF files with GeoKey metadata (EPSG codes, CRS, tiepoints, pixel scale)
  • COG: overview discovery plus optional remote open via HTTP range requests

§Example

use geotiff_reader::GeoTiffFile;

let file = GeoTiffFile::open("dem.tif")?;
println!("EPSG: {:?}", file.epsg());
println!("bounds: {:?}", file.geo_bounds());
println!("size: {}x{}", file.width(), file.height());

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

crs
Coordinate Reference System extraction from GeoKeys.
error
geokeys
GeoKey directory parsing (TIFF tag 34735).
transform
Geo-transform: pixel coordinates to/from geographic coordinates.

Structs§

GeoMetadata
Parsed geospatial metadata from GeoKeys and model tags.
GeoTiffFile
A GeoTIFF file handle with geospatial metadata.
GeoTiffOpenOptions
Configuration for opening a TIFF file.