Function create_output_geotiff

Source
pub fn create_output_geotiff<T: RasterType>(
    path: &Path,
    geo_transform: &GeoTransform,
    epsg_code: u32,
    total_cols: usize,
    total_rows: usize,
    n_bands: usize,
    na_value: T,
) -> Result<()>
Expand description

Pre-creates a GeoTIFF file with the given parameters.

Creates the file with GTiff driver, LZW compression, tiled 512x512 blocks, correct geotransform, CRS, and no-data values.