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 CoordinateReferenceSystem
getCrs()
Retrieve the CRS from the parent TileMatrixSetdouble
getDenominator()
String
getIdentifier()
int
getMatrixHeight()
int
getMatrixWidth()
TileMatrixSet
getParent()
double
getResolution()
int
getTileHeight()
int
getTileWidth()
Point
getTopLeft()
void
setDenominator(double denominator)
void
setIdentifier(String identifier)
void
setMatrixHeight(int matrixHeight)
void
setMatrixWidth(int matrixWidth)
void
setParent(TileMatrixSet parent)
void
setTileHeight(int tileHeight)
void
setTileWidth(int tileWidth)
void
setTopLeft(double lon, double lat)
void
setTopLeft(Point topLeft)
String
toString()
-
-
-
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
-
-