Struct tile_grid::TileMatrix
source · pub struct TileMatrix {
pub title_description_keywords: TitleDescriptionKeywords,
pub id: String,
pub scale_denominator: f64,
pub cell_size: f64,
pub corner_of_origin: Option<CornerOfOrigin>,
pub point_of_origin: [f64; 2],
pub tile_width: NonZeroU16,
pub tile_height: NonZeroU16,
pub matrix_width: NonZeroU64,
pub matrix_height: NonZeroU64,
pub variable_matrix_widths: Option<Vec<VariableMatrixWidth>>,
}Fields§
§title_description_keywords: TitleDescriptionKeywords§id: StringIdentifier selecting one of the scales defined in the TileMatrixSet and representing the scaleDenominator the tile. Implementation of ‘identifier’
scale_denominator: f64Scale denominator of this tile matrix
cell_size: f64Cell size of this tile matrix
corner_of_origin: Option<CornerOfOrigin>description“: “The corner of the tile matrix (topLeft or bottomLeft) used as the origin for numbering tile rows and columns. This corner is also a corner of the (0, 0) tile.
point_of_origin: [f64; 2]Precise position in CRS coordinates of the corner of origin (e.g. the top-left corner) for this tile matrix. This position is also a corner of the (0, 0) tile. In previous version, this was ‘topLeftCorner’ and ‘cornerOfOrigin’ did not exist.
tile_width: NonZeroU16Width of each tile of this tile matrix in pixels
tile_height: NonZeroU16Height of each tile of this tile matrix in pixels
matrix_width: NonZeroU64Width of the matrix (number of tiles in width)
matrix_height: NonZeroU64Height of the matrix (number of tiles in height)
variable_matrix_widths: Option<Vec<VariableMatrixWidth>>Describes the rows that has variable matrix width
Trait Implementations§
source§impl AsRef<TileMatrix> for Matrix<'_>
impl AsRef<TileMatrix> for Matrix<'_>
source§fn as_ref(&self) -> &TileMatrix
fn as_ref(&self) -> &TileMatrix
source§impl Clone for TileMatrix
impl Clone for TileMatrix
source§fn clone(&self) -> TileMatrix
fn clone(&self) -> TileMatrix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more