Package org.geotools.ows.wmts.model
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 Summary
Constructors Constructor Description TileMatrix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateReferenceSystemgetCrs()Retrieve the CRS from the parent TileMatrixSetdoublegetDenominator()StringgetIdentifier()intgetMatrixHeight()intgetMatrixWidth()TileMatrixSetgetParent()doublegetResolution()intgetTileHeight()intgetTileWidth()PointgetTopLeft()voidsetDenominator(double denominator)voidsetIdentifier(String identifier)voidsetMatrixHeight(int matrixHeight)voidsetMatrixWidth(int matrixWidth)voidsetParent(TileMatrixSet parent)voidsetTileHeight(int tileHeight)voidsetTileWidth(int tileWidth)voidsetTopLeft(double lon, double lat)voidsetTopLeft(Point topLeft)StringtoString()
-
-
-
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)
-
getParent
public TileMatrixSet getParent()
-
setParent
public void setParent(TileMatrixSet parent)
-
getCrs
public CoordinateReferenceSystem getCrs()
Retrieve the CRS from the parent TileMatrixSet
-
-