public class WebMapTileServer extends AbstractOpenWebService<WMTSCapabilities,Layer>
It is used to access the Capabilities document and perform requests. It will perform version negotiation automatically and use the highest known version that the server can communicate.
capabilities, hints, info, LOGGER, resourceInfo, serverURL, specification, specs| Constructor and Description |
|---|
WebMapTileServer(URL serverURL) |
WebMapTileServer(URL serverURL,
HTTPClient httpClient,
WMTSCapabilities capabilities) |
WebMapTileServer(URL serverURL,
HTTPClient httpClient,
WMTSCapabilities capabilities,
Map<String,Object> hints) |
WebMapTileServer(WebMapTileServer delegate) |
WebMapTileServer(WMTSCapabilities capabilities) |
| Modifier and Type | Method and Description |
|---|---|
GetFeatureInfoRequest |
createGetFeatureInfoRequest(GetTileRequest getmap) |
GetTileRequest |
createGetTileRequest() |
protected ServiceInfo |
createInfo()
Implemented by a subclass to describe service
|
protected ResourceInfo |
createInfo(Layer resource) |
WMTSCapabilities |
getCapabilities()
Get the getCapabilities document.
|
GeneralEnvelope |
getEnvelope(Layer layer,
CoordinateReferenceSystem crs) |
Map<String,String> |
getHeaders() |
WMTSServiceType |
getType() |
GetFeatureInfoResponse |
issueRequest(GetFeatureInfoRequest request) |
Set<Tile> |
issueRequest(GetTileRequest tileRequest) |
void |
setType(WMTSServiceType type) |
protected void |
setupSpecifications()
Sets up the specifications/versions that this server is capable of communicating with.
|
getHints, getHTTPClient, getInfo, getInfo, internalIssueRequest, issueRequest, negotiateVersion, setHints, setHttpClient, setLoggingLevelpublic WebMapTileServer(URL serverURL, HTTPClient httpClient, WMTSCapabilities capabilities, Map<String,Object> hints) throws ServiceException, IOException
serverURL - httpClient - capabilities - hints - ServiceExceptionIOExceptionpublic WebMapTileServer(URL serverURL, HTTPClient httpClient, WMTSCapabilities capabilities) throws ServiceException, IOException
serverURL - httpClient - capabilities - ServiceExceptionIOExceptionpublic WebMapTileServer(URL serverURL) throws IOException, ServiceException
serverURL - IOExceptionServiceExceptionpublic WebMapTileServer(WMTSCapabilities capabilities) throws ServiceException, IOException
capabilities - IOExceptionServiceExceptionpublic WebMapTileServer(WebMapTileServer delegate) throws ServiceException, IOException
delegate - IOExceptionServiceExceptionpublic WMTSCapabilities getCapabilities()
AbstractOpenWebServicegetCapabilities in class AbstractOpenWebService<WMTSCapabilities,Layer>protected ServiceInfo createInfo()
AbstractOpenWebServicecreateInfo in class AbstractOpenWebService<WMTSCapabilities,Layer>protected ResourceInfo createInfo(Layer resource)
createInfo in class AbstractOpenWebService<WMTSCapabilities,Layer>protected void setupSpecifications()
AbstractOpenWebServicesetupSpecifications in class AbstractOpenWebService<WMTSCapabilities,Layer>public Set<Tile> issueRequest(GetTileRequest tileRequest) throws ServiceException
tileRequest - ServiceExceptionpublic GetTileRequest createGetTileRequest()
public GetFeatureInfoRequest createGetFeatureInfoRequest(GetTileRequest getmap)
getmap - public GetFeatureInfoResponse issueRequest(GetFeatureInfoRequest request)
request - public void setType(WMTSServiceType type)
type - public WMTSServiceType getType()
public GeneralEnvelope getEnvelope(Layer layer, CoordinateReferenceSystem crs)
layer - crs - Copyright © 1996–2019 Geotools. All rights reserved.