public class TLcdWMTSLayer extends Object
unique identifier
display title
abstract
tile formats
styles
(ids)dimensions
and their allowed values
Constructor and Description |
---|
TLcdWMTSLayer(URI aUri,
String aId,
String aTitle,
String aAbstract,
Collection<String> aFormats,
Collection<String> aInfoFormats,
Collection<String> aStyles,
String aDefaultStyle,
Map<String,Collection<String>> aDimensions,
Map<String,String> aDefaultDimensions,
List<TLcdPair<String,List<String>>> aTileMatrixSets,
boolean aTileStructureQuadTree,
ILcdBounds aBounds)
Creates a new layer representation.
|
TLcdWMTSLayer(URI aUri,
String aId,
String aTitle,
String aAbstract,
Collection<String> aFormats,
Collection<String> aStyles,
Map<String,Collection<String>> aDimensions,
boolean aTileStructureQuadTree)
Creates a new layer representation.
|
TLcdWMTSLayer(URI aUri,
String aId,
String aTitle,
String aAbstract,
Collection<String> aFormats,
Collection<String> aStyles,
Map<String,Collection<String>> aDimensions,
boolean aTileStructureQuadTree,
ILcdBounds aBounds)
Creates a new layer representation.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbstract()
Returns the abstract for this WMTS layer,
null if absent. |
Map<String,String> |
getDefaultDimensions()
Returns the default dimensions as specified by the capabilities.
|
String |
getDefaultStyle()
Returns the default style (identifier) for this WMTS layer.
|
Collection<String> |
getDimensions()
Returns the supported dimensions for this WMTS layer.
|
Collection<String> |
getDimensionValues(String aDimension)
Returns the supported values for the given dimension in this WMTS layer.
|
Collection<String> |
getFormats()
Returns the supported formats (mime types) for tile image data in this WMTS layer.
|
String |
getId()
Returns the unique identifier of this WMTS layer.
|
Collection<String> |
getInfoFormats()
Returns the supported info formats (mime types) for a GetFeatureInfo response.
|
Collection<String> |
getStyles()
Returns the supported styles (identifiers) for this WMTS layer.
|
List<TLcdPair<String,List<String>>> |
getTileMatrixSets()
Returns a list of matrix sets.
|
String |
getTitle()
Returns the display name for this WMTS layer,
null if absent. |
URI |
getUri()
Returns the URI of the WMTS server that hosts this layer.
|
ILcdBounds |
getWGS84LonLatBounds()
Returns the bounds of the data inside this layer, expressed in WGS 84 lot / lat bounds.
|
boolean |
isTileStructureQuadTree()
Indicates whether this WMTS layer has a tile structure of quad-tree
|
String |
toString() |
public TLcdWMTSLayer(URI aUri, String aId, String aTitle, String aAbstract, Collection<String> aFormats, Collection<String> aStyles, Map<String,Collection<String>> aDimensions, boolean aTileStructureQuadTree)
aUri
- The URI of the WMTS serveraId
- The unique WMTS layer identifieraTitle
- A display nameaAbstract
- An abstractaFormats
- The supported tile data formatsaStyles
- The support style identifiersaDimensions
- The supported dimensions and their possible valuesaTileStructureQuadTree
- Whether the WMTS layer has a tile matrix set compatible with
ILcdEarthTileSet
public TLcdWMTSLayer(URI aUri, String aId, String aTitle, String aAbstract, Collection<String> aFormats, Collection<String> aStyles, Map<String,Collection<String>> aDimensions, boolean aTileStructureQuadTree, ILcdBounds aBounds)
aUri
- The URI of the WMTS serveraId
- The unique WMTS layer identifieraTitle
- A display nameaAbstract
- An abstractaFormats
- The supported tile data formatsaStyles
- The support style identifiersaDimensions
- The supported dimensions and their possible valuesaTileStructureQuadTree
- Whether the WMTS layer has a tile matrix set compatible with
ILcdEarthTileSet
aBounds
- The bounds of the data expressed in WGS 84 lon/lat coordinatespublic TLcdWMTSLayer(URI aUri, String aId, String aTitle, String aAbstract, Collection<String> aFormats, Collection<String> aInfoFormats, Collection<String> aStyles, String aDefaultStyle, Map<String,Collection<String>> aDimensions, Map<String,String> aDefaultDimensions, List<TLcdPair<String,List<String>>> aTileMatrixSets, boolean aTileStructureQuadTree, ILcdBounds aBounds)
aUri
- The URI of the WMTS serveraId
- The unique WMTS layer identifieraTitle
- A display nameaAbstract
- An abstractaFormats
- The supported tile data formatsaInfoFormats
- The supported valid output formats for a GetFeatureInfo responseaStyles
- The support style identifiersaDefaultStyle
- The default style identifieraDimensions
- The supported dimensions and their possible valuesaDefaultDimensions
- The default dimensionsaTileMatrixSets
- List of matrix sets. Each matrix set is stored as a TLcdPair
where the key
is the tileMatrixSetId and the value is a list of tileMatrixIds ordered by scaleaTileStructureQuadTree
- Whether the WMTS layer has a tile matrix set compatible with
ILcdEarthTileSet
aBounds
- The bounds of the data expressed in WGS 84 lon/lat coordinatespublic URI getUri()
public String getAbstract()
null
if absent.null
.public Collection<String> getFormats()
Always contains at least one format.
null
or empty.public Collection<String> getInfoFormats()
Can be empty.
null
.public String getId()
null
or ""
.public Collection<String> getStyles()
Always contains at least one style ID.
null
or empty.public String getDefaultStyle()
null
if it has not been set.public String getTitle()
null
if absent.public Collection<String> getDimensions()
Can be empty.
To get the
supported values for this dimension, see getDimensionValues(String)
.
null
.public Collection<String> getDimensionValues(String aDimension)
The dimension must exist for this layer.
The first item in the returned collection is the default value.
aDimension
- A dimension identifier, must exist in getDimensions()
.null
.public Map<String,String> getDefaultDimensions()
public boolean isTileStructureQuadTree()
true
if the full tiling structure a quad-tree, false
otherwisepublic List<TLcdPair<String,List<String>>> getTileMatrixSets()
TLcdPair
where the key is the tileMatrixSetId
and the value is a list of tileMatrixIds ordered by scalepublic ILcdBounds getWGS84LonLatBounds()
null
is returned if no bounds are defined.null
if the bounds are not defined.