Class TileMatrix

Object
TileMatrix

public class TileMatrix extends Object
A tile matrix set is composed of a collection of tile matrices, each one with a resolution optimized for a particular scale and identified by a tile matrix identifier. Each tile matrix set has an optional approximated bounding box but each tile matrix has an exact bounding box that is deduced indirectly from other parameters.
Author:
Emanuele Tajariol (etj at geo-solutions dot it)
  • Constructor Details

    • TileMatrix

      public TileMatrix()
  • Method Details

    • getIdentifier

      public String getIdentifier()
      Returns:
      the identifier
    • setIdentifier

      public void setIdentifier(String identifier)
      Parameters:
      identifier - the identifier to set
    • getDenominator

      public double getDenominator()
      Returns:
      the denominator
    • getResolution

      public double getResolution()
    • setDenominator

      public void setDenominator(double denominator)
      Parameters:
      denominator - the denominator to set
    • getTopLeft

      public Point getTopLeft()
      Returns:
      the topLeft
    • setTopLeft

      public void setTopLeft(Point topLeft)
      Parameters:
      topLeft - the topLeft to set
    • getTileWidth

      public int getTileWidth()
      Returns:
      the tileWidth
    • setTileWidth

      public void setTileWidth(int tileWidth)
      Parameters:
      tileWidth - the tileWidth to set
    • getTileHeight

      public int getTileHeight()
      Returns:
      the tileHeight
    • setTileHeight

      public void setTileHeight(int tileHeight)
      Parameters:
      tileHeight - the tileHeight to set
    • getMatrixWidth

      public int getMatrixWidth()
      Returns:
      the matrixWidth
    • setMatrixWidth

      public void setMatrixWidth(int matrixWidth)
      Parameters:
      matrixWidth - the matrixWidth to set
    • getMatrixHeight

      public int getMatrixHeight()
      Returns:
      the matrixHeight
    • setMatrixHeight

      public void setMatrixHeight(int matrixHeight)
      Parameters:
      matrixHeight - the matrixHeight to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setTopLeft

      public void setTopLeft(double lon, double lat)
    • getParent

      public TileMatrixSet getParent()
    • setParent

      public void setParent(TileMatrixSet parent)
    • getCrs

      public CoordinateReferenceSystem getCrs()
      Retrieve the CRS from the parent TileMatrixSet