Class 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 Detail

      • TileMatrix

        public TileMatrix()
    • Method Detail

      • 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
      • setTopLeft

        public void setTopLeft​(double lon,
                               double lat)