Package org.geotools.ows.wmts
Class WMTSSpecification
- Object
-
- Specification
-
- WMTSSpecification
-
public class WMTSSpecification extends Specification
WMTS version 1.0.0 specification.Used to create GetCapabilities and GetTile requests.
GetTile request are separated into three different objects:
- GetMultiTileRequest - Used to get a set of tiles within an extent
- GetKVPTileRequest - Used to get a tile request with query string parameters
- GetRestTileRequest - Used to get a tile request with url based on resourceurl in capabilities
- Author:
- ian, Emanuele Tajariol (etj at geo-solutions dot it)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WMTSSpecification.GetCapsRequest
static class
WMTSSpecification.GetKVPTileRequest
GetTile request base on query string parametersstatic class
WMTSSpecification.GetMultiTileRequest
GetMultiTileRequest - used for getting a Set of tilesstatic class
WMTSSpecification.GetRestTileRequest
GetTile request based on a resourceUrl specified in Capabilities.static class
WMTSSpecification.GetSingleTileRequest
Represents a GetTile request for a single tile.
-
Field Summary
Fields Modifier and Type Field Description static String
WMTS_VERSION
-
Constructor Summary
Constructors Constructor Description WMTSSpecification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCapabilitiesRequest
createGetCapabilitiesRequest(URL server)
Factory method to create GetCapabilities RequestString
getVersion()
Expected version attribute for root element.static String
processKey(String key)
-
-
-
Field Detail
-
WMTS_VERSION
public static final String WMTS_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public String getVersion()
Description copied from class:Specification
Expected version attribute for root element.- Specified by:
getVersion
in classSpecification
- Returns:
- the version as a String
-
createGetCapabilitiesRequest
public GetCapabilitiesRequest createGetCapabilitiesRequest(URL server)
Description copied from class:Specification
Factory method to create GetCapabilities Request- Specified by:
createGetCapabilitiesRequest
in classSpecification
- Parameters:
server
- the URL that points to the server's getCapabilities document- Returns:
- a configured GetCapabilitiesRequest that can be used to access the Document
-
-