map-engine 0.1.0

A library to work with tiled geospatial (raster) data.
Documentation
//! Library errors (using [`thiserror`]).
use gdal::errors::GdalError;
use ndarray::ShapeError;
use png::EncodingError;
use std::num::ParseIntError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum MapEngineError {
    #[error("TileError: {0}")]
    TileError(String),
    #[error("AffineError: {0}")]
    AffineError(String),
    #[error("{0}")]
    Msg(String),
    #[error(transparent)]
    StdError(#[from] std::io::Error),
    #[error(transparent)]
    EncodingError(#[from] EncodingError),
    #[error(transparent)]
    SerdeError(#[from] serde_json::Error),
    #[error(transparent)]
    GdalError(#[from] GdalError),
    #[error(transparent)]
    ShapeError(#[from] ShapeError),
    #[error(transparent)]
    ParseIntError(#[from] ParseIntError),
}