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 void
addSRS(CoordinateReferenceSystem crs)
void
addTileMatrixLink(TileMatrixSetLink link)
void
addTileMatrixLinks(List<TileMatrixSetLink> limitList)
protected Collection<String>
extractCRSNames(CoordinateReferenceSystem crs)
StyleImpl
getDefaultStyle()
List<String>
getFormats()
List<String>
getInfoFormats()
CoordinateReferenceSystem
getPreferredCRS()
String
getTemplate(String key)
Map<String,String>
getTemplates()
Return the possible templates for this layer keyed by format.Map<String,TileMatrixSetLink>
getTileMatrixLinks()
void
putResourceURL(String format, String template)
void
setDefaultStyle(StyleImpl style)
void
setFormats(List<String> formats)
void
setInfoFormats(List<String> infoFormats)
void
setPreferredCRS(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, 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, 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:
extractCRSNames
in classLayer
-
-