Package org.geotools.ows.wmts
Class WMTSSpecification.GetMultiTileRequest
Object
AbstractRequest
AbstractWMTSRequest
AbstractGetTileRequest
GetMultiTileRequest
- All Implemented Interfaces:
Request
,GetTileRequest
- Enclosing class:
- WMTSSpecification
GetMultiTileRequest - used for getting a Set of tiles
-
Field Summary
FieldsFields inherited from class AbstractGetTileRequest
capabilities, FORMAT, layer, LAYER, STYLE, styleName, type
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
Constructor Summary
ConstructorsConstructorDescriptionGetMultiTileRequest
(URL onlineResource, Properties properties, WMTSCapabilities capabilities) GetMultiTileRequest
(URL onlineResource, Properties properties, WMTSCapabilities capabilities, HTTPClient client) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
createTemplateUrl
(String tileMatrixSetName) Used when creating WMTSTileService's based on a templateUrl.getKVPparams
(String layerString, String styleString, String tileMatrixSetName, String format) Returns the properties for KVP WMTS, as well as placeholder's for the specific parameters of GetTile.getType()
protected void
Sets up the version number for this request.void
setType
(WMTSServiceType type) Methods inherited from class AbstractGetTileRequest
getCrs, getFormat, getHeaders, getRequestedTime, getTemplateUrl, getTileCol, getTileMatrix, getTileMatrixSet, getTileRow, getTiles, initRequest, setCRS, setFormat, setLayer, setRequestedBBox, setRequestedHeight, setRequestedTime, setRequestedWidth, setStyle, setTileCol, setTileMatrix, setTileMatrixSet, setTileRow
Methods inherited from class AbstractWMTSRequest
initService
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface Request
createResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
Field Details
-
DIMENSION_TIME
- See Also:
-
DIMENSION_ELEVATION
- See Also:
-
-
Constructor Details
-
GetMultiTileRequest
public GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities) -
GetMultiTileRequest
public GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities, HTTPClient client)
-
-
Method Details
-
initVersion
protected void initVersion()Description copied from class:AbstractRequest
Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersion
in classAbstractGetTileRequest
-
getType
- Returns:
- the type
-
setType
- Parameters:
type
- the type to set
-
createTemplateUrl
Description copied from class:AbstractGetTileRequest
Used when creating WMTSTileService's based on a templateUrl.If the server supports RESTful calls. It will use that. Otherwise it will create a similar template for KVP requests.
- Specified by:
createTemplateUrl
in classAbstractGetTileRequest
- Parameters:
tileMatrixSetName
- the name of the tileMatrixSet. This is expected to be UTF-8 encoded- Returns:
- template URL used containing placeholders for request parameters
-
getKVPparams
public static HashMap<String,String> getKVPparams(String layerString, String styleString, String tileMatrixSetName, String format) Returns the properties for KVP WMTS, as well as placeholder's for the specific parameters of GetTile. Values passed in are expected to be already encoded appropriately for use in URLs. SeeWMTSHelper.encodeParameter(String)
- Parameters:
layerString
- layerstyleString
- styletileMatrixSetName
- tilematrixSet nameformat
- format- Returns:
- a hashmap containing the properties for the KVP WMTS including placeholders for specific parameters of GetTile
- See Also:
-