Package org.geotools.ows.wmts.model
Class TileMatrix
Object
TileMatrix
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 -
Method Summary
Modifier and TypeMethodDescriptiongetCrs()
Retrieve the CRS from the parent TileMatrixSetdouble
int
int
double
int
int
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) toString()
-
Constructor Details
-
TileMatrix
public TileMatrix()
-
-
Method Details
-
getIdentifier
- Returns:
- the identifier
-
setIdentifier
- 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
- Returns:
- the topLeft
-
setTopLeft
- 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
-
setTopLeft
public void setTopLeft(double lon, double lat) -
getParent
-
setParent
-
getCrs
Retrieve the CRS from the parent TileMatrixSet
-