Package org.geotools.ows.wmts
Class WMTSSpecification.GetMultiTileRequest
- Object
-
- AbstractRequest
-
- AbstractWMTSRequest
-
- AbstractGetTileRequest
-
- GetMultiTileRequest
-
- All Implemented Interfaces:
Request
,GetTileRequest
- Enclosing class:
- WMTSSpecification
public static class WMTSSpecification.GetMultiTileRequest extends AbstractGetTileRequest
GetMultiTileRequest - used for getting a Set of tiles
-
-
Field Summary
Fields Modifier and Type Field Description static String
DIMENSION_ELEVATION
static String
DIMENSION_TIME
-
Fields inherited from class AbstractGetTileRequest
capabilities, FORMAT, layer, LAYER, STYLE, styleName, type
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
-
Constructor Summary
Constructors Constructor Description GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities)
GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities, HTTPClient client)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createTemplateUrl(String tileMatrixSetName)
Used when creating WMTSTileService's based on a templateUrl.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.WMTSServiceType
getType()
protected void
initVersion()
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 Detail
-
DIMENSION_TIME
public static final String DIMENSION_TIME
- See Also:
- Constant Field Values
-
DIMENSION_ELEVATION
public static final String DIMENSION_ELEVATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMultiTileRequest
public GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities)
-
GetMultiTileRequest
public GetMultiTileRequest(URL onlineResource, Properties properties, WMTSCapabilities capabilities, HTTPClient client)
-
-
Method Detail
-
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
public WMTSServiceType getType()
- Returns:
- the type
-
setType
public void setType(WMTSServiceType type)
- Parameters:
type
- the type to set
-
createTemplateUrl
protected String createTemplateUrl(String tileMatrixSetName)
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:
WMTSHelper.encodeParameter(String)
-
-