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 |
java.io.File |
downloadFile(java.net.URL url,
ICancellable cancel)
Downloads a file
|
java.lang.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
|
java.lang.String |
getHost() |
WMTSLayer |
getLayer(java.lang.String layerName)
Gets a layer
|
WMTSThemes |
getLayerListAsThemes()
Gets the list of layers as
WMTSThemes . |
java.io.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
|
java.io.File |
getTile(java.lang.String url,
ICancellable cancel,
java.io.File file)
Gets a tile downloading using a specific URL, path and file.
|
java.io.File |
getTile(WMTSStatus status,
ICancellable cancel)
One of the three interfaces that OGC WMS defines.
|
java.io.File |
getTile(WMTSStatus status,
ICancellable cancel,
java.io.File file)
Gets a tile downloading using a specific path and file.
|
java.util.List<WMTSTileMatrixSet> |
getTileMatrixSet()
Gets the set of tiles definition
|
java.net.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.java.util.List<WMTSTileMatrixSet> getTileMatrixSet()
WMTSLayer getLayer(java.lang.String layerName)
layerName
- WMTSServiceIdentification getServiceIdentification()
WMTSServiceProvider getServiceProvider()
java.io.File getTile(java.lang.String url, ICancellable cancel, java.io.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
java.io.File getTile(WMTSStatus status, ICancellable cancel, java.io.File file) throws WMTSException, ServerErrorException
Gets a tile downloading using a specific path and file.
ServerErrorException
WMTSException
java.io.File getTile(WMTSStatus status, ICancellable cancel) throws WMTSException, ServerErrorException
One of the three interfaces that OGC WMS defines. Request a map.
ServerErrorException
WMTSException
java.net.URL getTileURL(WMTSStatus status) throws java.net.MalformedURLException
ServerErrorException
java.net.MalformedURLException
java.io.File downloadFile(java.net.URL url, ICancellable cancel) throws DownloadException
java.lang.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
java.io.File getLegendGraphic(WMTSLayer layer, WMTSStyle style, ICancellable cancel) throws WMTSException
WMTSException
java.lang.String getHost()