public class TLcdWMTSDataSource extends Object implements ILcdDataSource
ILcdDataSource
to represent OGC WMTS data. WMTS data is represented by:
URI
. This is mandatory.layer id
. Optional, leave out to specify all available layers.format
. Optional, leave out to auto-detect the format.style id
. Optional, leave out to get the default style. To discover the available layers and their styles and formats, use TLcdWMTSClient.getLayers()
.
Use newBuilder()
to create a new instance.
Limitations on what WMTS layers are supported are described here
.
TLcdWMTSModelDecoder.decodeSource(com.luciad.model.ILcdDataSource)
Modifier and Type | Class and Description |
---|---|
static class |
TLcdWMTSDataSource.Builder
A builder to create
TLcdWMTSDataSource instances. |
Modifier and Type | Method and Description |
---|---|
TLcdWMTSDataSource.Builder |
asBuilder()
Returns a
builder pre-initialized with the values of this instance. |
boolean |
equals(Object aO) |
String |
getDescription()
Returns a string description of the data source.
|
Map<String,String> |
getDimensions()
Returns the values for dimensions to be used when decoding the WMTS layer.
|
String |
getFormat()
Returns the format that should be used when decoding the WMTS layer.
|
String |
getLayer()
Returns the WMTS layer ID to load.
|
String |
getStyle()
Returns the style ID that should be used when decoding the WMTS layer.
|
URI |
getURI()
Returns the URI of the WMTS server.
|
int |
hashCode() |
static TLcdWMTSDataSource.Builder |
newBuilder()
Returns a
builder to create new instances. |
String |
toString() |
public static TLcdWMTSDataSource.Builder newBuilder()
builder
to create new instances.public TLcdWMTSDataSource.Builder asBuilder()
builder
pre-initialized with the values of this instance.public String getDescription()
ILcdDataSource
getDescription
in interface ILcdDataSource
public URI getURI()
public String getLayer()
A null
return value indicates all available,
layers should be loaded.
null
.public String getFormat()
A null
return
value indicates the format should be auto-detected.
null
.public String getStyle()
A null
return value indicates the default style should be used.
null
.public Map<String,String> getDimensions()
Not all possible dimensions need to have values. If a dimension does not have a value associated, the default value will be used.
null
.