Package com.luciad.ogc.wmts
Class TLcdWMTSLayer
java.lang.Object
com.luciad.ogc.wmts.TLcdWMTSLayer
Represents a WMTS layer:
- Its
unique identifier
- Its
display title
- An
abstract
- A list of
supported
tile formats
- A list of supported
styles
(ids) - A list of
dimensions
and their allowedvalues
- Since:
- 2013.0
-
Constructor Summary
ConstructorDescriptionTLcdWMTSLayer
(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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the abstract for this WMTS layer,null
if absent.Returns the default dimensions as specified by the capabilities.Returns the default style (identifier) for this WMTS layer.Returns the supported dimensions for this WMTS layer.getDimensionValues
(String aDimension) Returns the supported values for the given dimension in this WMTS layer.Returns the supported formats (mime types) for tile image data in this WMTS layer.getId()
Returns the unique identifier of this WMTS layer.Returns the supported info formats (mime types) for a GetFeatureInfo response.Returns the supported styles (identifiers) for this WMTS layer.Returns a list of matrix sets.getTitle()
Returns the display name for this WMTS layer,null
if absent.getUri()
Returns the URI of the WMTS server that hosts this layer.Returns the bounds of the data inside this layer, expressed in WGS 84 lot / lat bounds.boolean
Indicates whether this WMTS layer has a tile structure of quad-treetoString()
-
Constructor Details
-
TLcdWMTSLayer
public 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.- Parameters:
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 withILcdEarthTileSet
-
TLcdWMTSLayer
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) Creates a new layer representation.- Parameters:
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 withILcdEarthTileSet
aBounds
- The bounds of the data expressed in WGS 84 lon/lat coordinates- Since:
- 2017.1
-
TLcdWMTSLayer
public 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.- Parameters:
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 aTLcdPair
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 withILcdEarthTileSet
aBounds
- The bounds of the data expressed in WGS 84 lon/lat coordinates- Since:
- 2021.0
-
-
Method Details
-
getUri
Returns the URI of the WMTS server that hosts this layer.- Returns:
- The URI of the WMTS server
-
getAbstract
Returns the abstract for this WMTS layer,null
if absent.- Returns:
- The abstract for this WMTS layer, possibly
null
.
-
getFormats
Returns the supported formats (mime types) for tile image data in this WMTS layer.Always contains at least one format.
- Returns:
- The set of supported formats, never
null
or empty.
-
getInfoFormats
Returns the supported info formats (mime types) for a GetFeatureInfo response.Can be empty.
- Returns:
- The set of supported info formats, never
null
. - Since:
- 2021.0
-
getId
Returns the unique identifier of this WMTS layer.- Returns:
- The unique identifier for this WMTS layer, never
null
or""
.
-
getStyles
Returns the supported styles (identifiers) for this WMTS layer.Always contains at least one style ID.
- Returns:
- The set of supported styles, never
null
or empty.
-
getDefaultStyle
Returns the default style (identifier) for this WMTS layer.- Returns:
- Returns the default style (identifier) for this WMTS layer. Can be
null
if it has not been set. - Since:
- 2021.0
-
getTitle
Returns the display name for this WMTS layer,null
if absent.- Returns:
- The display name for this WMTS layer.
-
getDimensions
Returns the supported dimensions for this WMTS layer.Can be empty.
To get the supported values for this dimension, see
getDimensionValues(String)
.- Returns:
- The set of supported dimensions, never
null
.
-
getDimensionValues
Returns the supported values for the given dimension in this WMTS layer.The dimension must exist for this layer.
The first item in the returned collection is the default value.
- Parameters:
aDimension
- A dimension identifier, must exist ingetDimensions()
.- Returns:
- The set of supported values for this dimension, never
null
.
-
getDefaultDimensions
Returns the default dimensions as specified by the capabilities.- Returns:
- A map with default dimensions. If there no dimensions an empty map is returned.
- Since:
- 2021.0
-
isTileStructureQuadTree
public boolean isTileStructureQuadTree()Indicates whether this WMTS layer has a tile structure of quad-tree- Returns:
true
if the full tiling structure a quad-tree,false
otherwise
-
getTileMatrixSets
Returns a list of matrix sets. Each matrix set is stored as aTLcdPair
where the key is the tileMatrixSetId and the value is a list of tileMatrixIds ordered by scale- Returns:
- The list of matrix sets
- Since:
- 2021.0
-
getWGS84LonLatBounds
Returns the bounds of the data inside this layer, expressed in WGS 84 lot / lat bounds. As the bounds information is optional,null
is returned if no bounds are defined.- Returns:
- the bounds of the data inside this layer, expressed in WGS 84 lot / lat bounds, or
null
if the bounds are not defined. - Since:
- 2017.1
-
toString
-