Struct tile_grid::TileMatrixSet
source · pub struct TileMatrixSet {
pub title_description_keywords: TitleDescriptionKeywords,
pub id: String,
pub uri: Option<String>,
pub crs: Crs,
pub ordered_axes: Option<Vec<String>>,
pub well_known_scale_set: Option<String>,
pub bounding_box: Option<BoundingBox2D>,
pub tile_matrices: Vec<TileMatrix>,
}Expand description
A definition of a tile matrix set following the Tile Matrix Set standard.
For tileset metadata, such a description (in tileMatrixSet property) is
only required for offline use, as an alternative to a link with a
http://www.opengis.net/def/rel/ogc/1.0/tiling-scheme relation type.
Fields§
§title_description_keywords: TitleDescriptionKeywords§id: StringTile matrix set identifier. Implementation of ‘identifier’
uri: Option<String>Reference to an official source for this TileMatrixSet
crs: CrsCoordinate Reference System (CRS)
ordered_axes: Option<Vec<String>>§well_known_scale_set: Option<String>Reference to a well-known scale set
bounding_box: Option<BoundingBox2D>Minimum bounding rectangle surrounding the tile matrix set, in the supported CRS
tile_matrices: Vec<TileMatrix>Describes scale levels and its tile matrices
Implementations§
source§impl TileMatrixSet
impl TileMatrixSet
pub fn from_json_file(json_path: &str) -> Result<Self, TileMatrixSetError>
pub fn from_json(json: &str) -> Result<Self, TileMatrixSetError>
Trait Implementations§
source§impl Clone for TileMatrixSet
impl Clone for TileMatrixSet
source§fn clone(&self) -> TileMatrixSet
fn clone(&self) -> TileMatrixSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TileMatrixSet
impl Debug for TileMatrixSet
source§impl<'de> Deserialize<'de> for TileMatrixSet
impl<'de> Deserialize<'de> for TileMatrixSet
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TileMatrixSet
impl Send for TileMatrixSet
impl Sync for TileMatrixSet
impl Unpin for TileMatrixSet
impl UnwindSafe for TileMatrixSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more