surtgis-core 0.15.1

Core types and traits for SurtGis geospatial library
Documentation
//! I/O operations for reading and writing geospatial data

#[cfg(feature = "gdal")]
mod gdal_io;
mod native;
pub mod strip_reader;
pub mod strip_writer;

#[cfg(feature = "gdal")]
pub use gdal_io::{GeoTiffOptions, read_geotiff, write_geotiff};

#[cfg(not(feature = "gdal"))]
pub use native::{GeoTiffOptions, read_geotiff, write_geotiff};

// Multi-band writer — only via the native backend for now
// (1, 3, or 4 bands).
pub use native::write_geotiff_multiband;

// Buffer-based I/O (always available, no filesystem dependency)
pub use native::{read_geotiff_from_buffer, write_geotiff_to_buffer};

// Streaming I/O
pub use strip_reader::StripReader;
pub use strip_writer::{StripWriterConfig, write_geotiff_streaming};