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, setLoggingLevel
public WebMapTileServer(URL serverURL, HTTPClient httpClient, WMTSCapabilities capabilities, Map<String,Object> hints) throws ServiceException, IOException
serverURL
- httpClient
- capabilities
- hints
- ServiceException
IOException
public WebMapTileServer(URL serverURL, HTTPClient httpClient, WMTSCapabilities capabilities) throws ServiceException, IOException
serverURL
- httpClient
- capabilities
- ServiceException
IOException
public WebMapTileServer(URL serverURL) throws IOException, ServiceException
serverURL
- IOException
ServiceException
public WebMapTileServer(WMTSCapabilities capabilities) throws ServiceException, IOException
capabilities
- IOException
ServiceException
public WebMapTileServer(WebMapTileServer delegate) throws ServiceException, IOException
delegate
- IOException
ServiceException
public WMTSCapabilities getCapabilities()
AbstractOpenWebService
getCapabilities
in class AbstractOpenWebService<WMTSCapabilities,Layer>
protected ServiceInfo createInfo()
AbstractOpenWebService
createInfo
in class AbstractOpenWebService<WMTSCapabilities,Layer>
protected ResourceInfo createInfo(Layer resource)
createInfo
in class AbstractOpenWebService<WMTSCapabilities,Layer>
protected void setupSpecifications()
AbstractOpenWebService
setupSpecifications
in class AbstractOpenWebService<WMTSCapabilities,Layer>
public Set<Tile> issueRequest(GetTileRequest tileRequest) throws ServiceException
tileRequest
- ServiceException
public 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.