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 TypeMethodDescriptionvoidaddMatrix(TileMatrix tileMatrix) getBbox()getCrs()protected CoordinateReferenceSystemTry and parse the crs string.voidsetBbox(CRSEnvelope bbox) voidsetCoordinateReferenceSystem(CoordinateReferenceSystem coordinateReferenceSystem) voidvoidsetIdentifier(String id) voidsetMatrices(List<TileMatrix> matrices) voidsetWellKnownScaleSet(String wellKnownScaleSet) intsize()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
-