public class WMTSUtil
extends java.lang.Object
| Constructor and Description |
|---|
WMTSUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fillPublicTileParametersByRequest(WMTSGetTileParameter parameters, Request request)
Obtain the relevant parameters of WMTS tiles according to Requets.
|
static int |
getIntegerFromString(java.lang.String param, java.lang.String locator) |
static java.lang.String |
getLastExtension(Reference reference)
Gets the last extension string based on the request resource URL
|
static MapParameter |
getWMTSTileParameter(WMTSGetCapabilities wmtsGC, Map mapComponent, java.lang.String layer, java.lang.String tileMatrixSetID, java.lang.String tileMatrixID, int tileRow, int tileCol)
Get the corresponding MapParameter according to the WMTS service tile request parameters
|
public static MapParameter getWMTSTileParameter(WMTSGetCapabilities wmtsGC, Map mapComponent, java.lang.String layer, java.lang.String tileMatrixSetID, java.lang.String tileMatrixID, int tileRow, int tileCol)
wmtsGC - WMTS service descriptionmapComponent - map componentlayer - maptileMatrixSetID - the tile matrix set ID.tileMatrixID - the tile matrix ID.tileRow - the row of the tiletileCol - the column of the tilepublic static void fillPublicTileParametersByRequest(WMTSGetTileParameter parameters, Request request)
parameters -
public static int getIntegerFromString(java.lang.String param,
java.lang.String locator)
public static java.lang.String getLastExtension(Reference reference)
reference - reference of the request resource