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
Re-export from geotiff-core.
error
geokeys
Re-export from geotiff-core.
transform
Re-export from geotiff-core.

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.