public class TLcdWMTSDataSource extends java.lang.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(java.lang.Object aO) |
java.lang.String |
getDescription()
Returns a string description of the data source.
|
java.util.Map<java.lang.String,java.lang.String> |
getDimensions()
Returns the values for dimensions to be used when decoding the WMTS layer.
|
java.lang.String |
getFormat()
Returns the format that should be used when decoding the WMTS layer.
|
java.lang.String |
getLayer()
Returns the WMTS layer ID to load.
|
java.lang.String |
getStyle()
Returns the style ID that should be used when decoding the WMTS layer.
|
java.net.URI |
getURI()
Returns the URI of the WMTS server.
|
int |
hashCode() |
static TLcdWMTSDataSource.Builder |
newBuilder()
Returns a
builder to create new instances. |
java.lang.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 java.lang.String getDescription()
ILcdDataSource
getDescription
in interface ILcdDataSource
public java.net.URI getURI()
public java.lang.String getLayer()
A null
return value indicates all available,
layers should be loaded.
null
.public java.lang.String getFormat()
A null
return
value indicates the format should be auto-detected.
null
.public java.lang.String getStyle()
A null
return value indicates the default style should be used.
null
.public java.util.Map<java.lang.String,java.lang.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
.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object aO)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object