Class TileMatrix


  • public class TileMatrix
    extends Object
    Tile Matrix object. Documents the structure of the tile matrix at each zoom level in each tiles table. It allows GeoPackages to contain rectangular as well as square tiles (e.g. for better representation of polar regions). It allows tile pyramids with zoom levels that differ in resolution by factors of 2, irregular intervals, or regular intervals other than factors of 2.
    Author:
    osbornb
    • Constructor Detail

      • TileMatrix

        public TileMatrix()
        Default Constructor
      • TileMatrix

        public TileMatrix​(TileMatrix tileMatrix)
        Copy Constructor
        Parameters:
        tileMatrix - tile matrix to copy
        Since:
        1.3.0
    • Method Detail

      • getId

        public TileMatrixKey getId()
        Get the tile matrix id
        Returns:
        tile matrix key
      • setId

        public void setId​(TileMatrixKey id)
        Set the tile matrix id
        Parameters:
        id - id
      • getContents

        public Contents getContents()
      • setContents

        public void setContents​(Contents contents)
      • getTableName

        public String getTableName()
      • getZoomLevel

        public long getZoomLevel()
      • setZoomLevel

        public void setZoomLevel​(long zoomLevel)
      • getMatrixWidth

        public long getMatrixWidth()
      • setMatrixWidth

        public void setMatrixWidth​(long matrixWidth)
      • getMatrixHeight

        public long getMatrixHeight()
      • setMatrixHeight

        public void setMatrixHeight​(long matrixHeight)
      • getTileWidth

        public long getTileWidth()
      • setTileWidth

        public void setTileWidth​(long tileWidth)
      • getTileHeight

        public long getTileHeight()
      • setTileHeight

        public void setTileHeight​(long tileHeight)
      • getPixelXSize

        public double getPixelXSize()
      • setPixelXSize

        public void setPixelXSize​(double pixelXSize)
      • getPixelYSize

        public double getPixelYSize()
      • setPixelYSize

        public void setPixelYSize​(double pixelYSize)
      • setTableName

        public void setTableName​(String tableName)