public class TLcdWMTSClient
extends java.lang.Object
To create ILcdModel
s that can be used in LuciadLightspeed views, you can use
TLcdWMTSModelDecoder
.
This client connects to the WMTS once. If you need to refresh the capabilities
, create a new client.
You can list the available WMTS layers
.
Limitations on what WMTS layers are supported are described here
.
TLcdWMTSModelDecoder
Constructor and Description |
---|
TLcdWMTSClient(java.net.URI aUri)
Create a client.
|
TLcdWMTSClient(java.net.URI aUri,
ILcdOWSTransport aTransport)
Create a client.
|
TLcdWMTSClient(java.net.URI aUri,
ILcdTransport aTransport)
Create a client.
|
Modifier and Type | Method and Description |
---|---|
TLcdOWSCapabilitiesBase |
getCapabilities()
Returns the capabilities of the WMTS.
|
java.util.Collection<TLcdWMTSLayer> |
getLayers()
Returns the layers available on the WMTS server, as well as their exposed formats and styles.
|
public TLcdWMTSClient(java.net.URI aUri) throws TLcdOWSDecodingException, TLcdOWSTransportException, TLcdOWSServerException, TLcdOWSUnsupportedVersionException
aUri
- The URI of the WMTS serverTLcdOWSDecodingException
TLcdOWSTransportException
TLcdOWSServerException
TLcdOWSUnsupportedVersionException
public TLcdWMTSClient(java.net.URI aUri, ILcdTransport aTransport) throws TLcdOWSDecodingException, TLcdOWSTransportException, TLcdOWSServerException, TLcdOWSUnsupportedVersionException
aUri
- The URI of the WMTS serveraTransport
- The transport used to do the connections to the server.TLcdOWSDecodingException
TLcdOWSTransportException
TLcdOWSServerException
TLcdOWSUnsupportedVersionException
TLcdTransportFactory: create a default transport
public TLcdWMTSClient(java.net.URI aUri, ILcdOWSTransport aTransport) throws TLcdOWSDecodingException, TLcdOWSTransportException, TLcdOWSServerException, TLcdOWSUnsupportedVersionException
aUri
- The URI of the WMTS serveraTransport
- The transport used to do the connections to the server.TLcdOWSDecodingException
TLcdOWSTransportException
TLcdOWSServerException
TLcdOWSUnsupportedVersionException
TLcdOWSHTTPTransport: the default OWS transport
public TLcdOWSCapabilitiesBase getCapabilities()
Subsequent calls will always return the same capabilities, it does not re-connect to the WMTS to refresh the capabilities.
If you need to refresh the capabilities, create a new client.public java.util.Collection<TLcdWMTSLayer> getLayers()
Use TLcdWMTSLayer.isTileStructureQuadTree()
to check if a layer can be
visualized at the full detail it exposes.