geotiff-writer 0.2.2

Pure-Rust GeoTIFF and COG writer with compression, tiling, and overview support
Documentation

Pure-Rust GeoTIFF and COG writer with compression, tiling, and overview support.

Example

use geotiff_writer::GeoTiffBuilder;
use ndarray::Array2;

let data = Array2::<f32>::zeros((100, 100));
GeoTiffBuilder::new(100, 100)
    .epsg(4326)
    .pixel_scale(0.01, 0.01)
    .origin(-180.0, 90.0)
    .nodata("-9999")
    .write_2d("output.tif", data.view())
    .unwrap();