public class TileMatrixSet extends Object
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.
Constructor and Description |
---|
TileMatrixSet() |
Modifier and Type | Method and Description |
---|---|
void |
addMatrix(TileMatrix tileMatrix) |
CRSEnvelope |
getBbox() |
CoordinateReferenceSystem |
getCoordinateReferenceSystem() |
String |
getCrs() |
String |
getIdentifier() |
List<TileMatrix> |
getMatrices() |
String |
getWellKnownScaleSet() |
protected CoordinateReferenceSystem |
parseCoordinateReferenceSystem(String crs)
Try and parse the crs string.
|
void |
setBbox(CRSEnvelope bbox) |
void |
setCRS(String crs) |
void |
setIdentifier(String id) |
void |
setMatrices(ArrayList<TileMatrix> matrices) |
void |
setWellKnownScaleSet(String wellKnownScaleSet) |
int |
size() |
String |
toString() |
public void setIdentifier(String id)
public void setCRS(String crs) throws IllegalArgumentException
IllegalArgumentException
public void addMatrix(TileMatrix tileMatrix)
public String getCrs()
public CoordinateReferenceSystem getCoordinateReferenceSystem()
protected CoordinateReferenceSystem parseCoordinateReferenceSystem(String crs) throws NoSuchAuthorityCodeException, FactoryException
Also takes care of including deprecated codes like EPSG:900913 replacing them with EPSG:3857.
public List<TileMatrix> getMatrices()
public void setMatrices(ArrayList<TileMatrix> matrices)
matrices
- the matrices to setpublic String getIdentifier()
public CRSEnvelope getBbox()
public void setBbox(CRSEnvelope bbox)
public String getWellKnownScaleSet()
public void setWellKnownScaleSet(String wellKnownScaleSet)
public int size()
Copyright © 1996–2019 Geotools. All rights reserved.