Package org.geotools.ows.wmts.model
Class WMTSLayer
-
- All Implemented Interfaces:
Comparable<Layer>
public class WMTSLayer extends Layer
- Author:
- ian, Emanuele Tajariol (etj at geo-solutions dot it)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSRS(CoordinateReferenceSystem crs)voidaddTileMatrixLink(TileMatrixSetLink link)voidaddTileMatrixLinks(List<TileMatrixSetLink> limitList)protected Collection<String>extractCRSNames(CoordinateReferenceSystem crs)StyleImplgetDefaultStyle()List<String>getFormats()List<String>getInfoFormats()CoordinateReferenceSystemgetPreferredCRS()StringgetTemplate(String key)Map<String,String>getTemplates()Return the possible templates for this layer keyed by format.Map<String,TileMatrixSetLink>getTileMatrixLinks()voidputResourceURL(String format, String template)voidsetDefaultStyle(StyleImpl style)voidsetFormats(List<String> formats)voidsetInfoFormats(List<String> infoFormats)voidsetPreferredCRS(CoordinateReferenceSystem preferredCRS)-
Methods inherited from class Layer
addChildren, clearCache, compareTo, get_abstract, getAttribution, getBoundingBoxes, getCascaded, getChildren, getDimension, getDimensions, getEnvelope, getExtent, getExtents, getKeywords, getLatLonBoundingBox, getLayerBoundingBoxes, getLayerChildren, getLayerDimensions, getLayerExtents, getMetadataURL, getName, getParent, getScaleDenominatorMax, getScaleDenominatorMin, getSrs, getStyles, getTitle, getVendorParameters, isQueryable, set_abstract, setAttribution, setBoundingBoxes, setBoundingBoxes, setCascaded, setChildren, setDimensions, setDimensions, setDimensions, setExtents, setExtents, setExtents, setKeywords, setLatLonBoundingBox, setMetadataURL, setName, setParent, setQueryable, setScaleDenominatorMax, setScaleDenominatorMin, setSrs, setStyles, setTitle, setVendorParameters, toString
-
-
-
-
Field Detail
-
LOGGER
public static final Logger LOGGER
-
-
Constructor Detail
-
WMTSLayer
public WMTSLayer(String title)
- Parameters:
title-
-
-
Method Detail
-
getTileMatrixLinks
public Map<String,TileMatrixSetLink> getTileMatrixLinks()
- Returns:
- the limits
-
addTileMatrixLinks
public void addTileMatrixLinks(List<TileMatrixSetLink> limitList)
- Parameters:
limitList-
-
addTileMatrixLink
public void addTileMatrixLink(TileMatrixSetLink link)
-
setInfoFormats
public void setInfoFormats(List<String> infoFormats)
- Parameters:
infoFormats- the infoFormats to set
-
addSRS
public void addSRS(CoordinateReferenceSystem crs)
-
getPreferredCRS
public CoordinateReferenceSystem getPreferredCRS()
- Returns:
- the preferredCRS
-
setPreferredCRS
public void setPreferredCRS(CoordinateReferenceSystem preferredCRS)
- Parameters:
preferredCRS- the preferredCRS to set
-
setDefaultStyle
public void setDefaultStyle(StyleImpl style)
- Parameters:
style-
-
getDefaultStyle
public StyleImpl getDefaultStyle()
- Returns:
- the defaultStyle
-
getTemplates
public Map<String,String> getTemplates()
Return the possible templates for this layer keyed by format.- Returns:
-
extractCRSNames
protected Collection<String> extractCRSNames(CoordinateReferenceSystem crs)
- Overrides:
extractCRSNamesin classLayer
-
-