public interface WMTSClient
Modifier and Type | Method and Description |
---|---|
boolean |
connect(boolean override,
ICancellable cancel)
Connects to a server
|
WMTSStatus |
createStatus()
Creates a
WMTSStatus structure to make a request |
File |
downloadFile(URL url,
ICancellable cancel)
Downloads a file
|
String |
getFeatureInfo(WMTSStatus status,
int x,
int y,
ICancellable cancel)
It will send a GetFeatureInfo request to the WMTS
Parsing the response and redirecting the info to the WMTS client
|
String |
getHost() |
WMTSLayer |
getLayer(String layerName)
Gets a layer
|
WMTSThemes |
getLayerListAsThemes()
Gets the list of layers as
WMTSThemes . |
File |
getLegendGraphic(WMTSLayer layer,
WMTSStyle style,
ICancellable cancel)
Gets the legend graphic of one layer
|
WMTSServiceIdentification |
getServiceIdentification()
Gets the host description
|
WMTSServiceProvider |
getServiceProvider()
Gets the host description
|
WMTSThemes |
getThemes()
Gets the list of themes
|
File |
getTile(String url,
ICancellable cancel,
File file)
Gets a tile downloading using a specific URL, path and file.
|
File |
getTile(WMTSStatus status,
ICancellable cancel)
One of the three interfaces that OGC WMS defines.
|
File |
getTile(WMTSStatus status,
ICancellable cancel,
File file)
Gets a tile downloading using a specific path and file.
|
List<WMTSTileMatrixSet> |
getTileMatrixSet()
Gets the set of tiles definition
|
URL |
getTileURL(WMTSStatus status)
Builds the URL to get a tile using a WMTSStatus object
|
void |
setForceChangeAxisOrder(boolean force)
Change axis order
|
WMTSStatus createStatus()
WMTSStatus
structure to make a requestboolean connect(boolean override, ICancellable cancel)
override
- cancel
- void setForceChangeAxisOrder(boolean force)
force
- WMTSThemes getThemes()
WMTSThemes getLayerListAsThemes()
WMTSThemes
. When the server
does not offer themes it is useful to have the same structure as list
of layers.List<WMTSTileMatrixSet> getTileMatrixSet()
WMTSServiceIdentification getServiceIdentification()
WMTSServiceProvider getServiceProvider()
File getTile(String url, ICancellable cancel, File file) throws WMTSException, ServerErrorException
Gets a tile downloading using a specific URL, path and file. This is useful for URL builds from templates
ServerErrorException
WMTSException
File getTile(WMTSStatus status, ICancellable cancel, File file) throws WMTSException, ServerErrorException
Gets a tile downloading using a specific path and file.
ServerErrorException
WMTSException
File getTile(WMTSStatus status, ICancellable cancel) throws WMTSException, ServerErrorException
One of the three interfaces that OGC WMS defines. Request a map.
ServerErrorException
WMTSException
URL getTileURL(WMTSStatus status) throws MalformedURLException
File downloadFile(URL url, ICancellable cancel) throws DownloadException
String getFeatureInfo(WMTSStatus status, int x, int y, ICancellable cancel)
It will send a GetFeatureInfo request to the WMTS Parsing the response and redirecting the info to the WMTS client
File getLegendGraphic(WMTSLayer layer, WMTSStyle style, ICancellable cancel) throws WMTSException
WMTSException
String getHost()