Trait TileMatrixSetOps

Source
pub trait TileMatrixSetOps: Sized {
    // Required methods
    fn from_json_file(json_path: &str) -> Result<Self, TileMatrixSetError>;
    fn from_json(json: &str) -> Result<Self, TileMatrixSetError>;
    fn crs_axis_inverted(&self) -> bool;
}

Required Methods§

Source

fn from_json_file(json_path: &str) -> Result<Self, TileMatrixSetError>

Source

fn from_json(json: &str) -> Result<Self, TileMatrixSetError>

Source

fn crs_axis_inverted(&self) -> bool

Check if CRS has inverted AXIS (lat,lon) instead of (lon,lat).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TileMatrixSetOps for TileMatrixSet

Source§

fn crs_axis_inverted(&self) -> bool

Check if CRS has inverted AXIS (lat,lon) instead of (lon,lat).

Source§

fn from_json_file(json_path: &str) -> Result<Self, TileMatrixSetError>

Source§

fn from_json(json: &str) -> Result<Self, TileMatrixSetError>

Implementors§