Package org.geotools.ows.wmts.model
Class TileMatrixSet
Object
TileMatrixSet
The geometry of the tiled space.
In a tiled map layer, the representation of the space is constrained in a discrete set of parameters. A tile matrix set defines these parameters. Each tile matrix set contains one or more "tile matrices" defining the tiles that are available for that coordinate reference system.
- Author:
- Emanuele Tajariol (etj at geo-solutions dot it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMatrix
(TileMatrix tileMatrix) getBbox()
getCrs()
protected CoordinateReferenceSystem
Try and parse the crs string.void
setBbox
(CRSEnvelope bbox) void
setCoordinateReferenceSystem
(CoordinateReferenceSystem coordinateReferenceSystem) void
void
setIdentifier
(String id) void
setMatrices
(List<TileMatrix> matrices) void
setWellKnownScaleSet
(String wellKnownScaleSet) int
size()
toString()
-
Constructor Details
-
TileMatrixSet
public TileMatrixSet()
-
-
Method Details
-
setIdentifier
-
setCRS
- Throws:
IllegalArgumentException
-
addMatrix
-
getCrs
- Returns:
- the crs
-
getCoordinateReferenceSystem
-
parseCoordinateReferenceSystem
protected CoordinateReferenceSystem parseCoordinateReferenceSystem(String crs) throws NoSuchAuthorityCodeException, FactoryException Try and parse the crs string.Also takes care of including deprecated codes like EPSG:900913 replacing them with EPSG:3857.
-
getMatrices
- Returns:
- the matrices
-
setMatrices
- Parameters:
matrices
- the matrices to set
-
getIdentifier
- Returns:
- the identifier
-
getBbox
-
setBbox
-
getWellKnownScaleSet
-
setWellKnownScaleSet
-
toString
-
size
public int size()- Returns:
- the number of levels in this MatrixSet
-
setCoordinateReferenceSystem
-