public final class WMTSConfigTool
extends java.lang.Object
WMTS service configuration tool.
| Constructor and Description | 
|---|
| WMTSConfigTool() | 
| Modifier and Type | Method and Description | 
|---|---|
| static WellknownScaleSets | fillCustomScaleMembers(double[] scales, double dpi, Unit unit, WellknownScaleSets wkScaleSets) | 
| static PrjCoordSys | getPrjCoordSys(TileMatrixSet tileMatrixSet)Get the corresponding projection system of the tile matrix set. | 
| static java.util.List<ScaleMember> | getScaleMembers(MapParameter defaultParam, double[] scales)Get the corresponding scale member of the tile matrix according to the custom scale. | 
| static Rectangle2D | getTileBounds(TileMatrix tileMatrix, int tileRow, int tileCol, double pixelSpan, PrjCoordSys prjCoordSys)Get the geographical range of the specific tile. | 
| static TileMatrix | getTileMatrix(TileMatrixSet tileMatrixSet, java.lang.String tileMatrix)Select the tile matrix. | 
| static TileMatrixSet | getTileMatrixSet(java.util.List<TileMatrixSet> tileMatrixSets, java.lang.String tileMatrixSet)Select the tile matrix set. | 
| static Rectangle | getTileViewer(TileMatrix tileMatrix)Get the size of each tile image in the tile matrix, the unit is pixel. | 
public static TileMatrixSet getTileMatrixSet(java.util.List<TileMatrixSet> tileMatrixSets, java.lang.String tileMatrixSet)
Select the tile matrix set.
Select the tile matrix set with specific name from the tile matrix set list.
tileMatrixSets - the tile matrix set list to select.tileMatrixSet - the tile matrix set name.public static TileMatrix getTileMatrix(TileMatrixSet tileMatrixSet, java.lang.String tileMatrix)
Select the tile matrix.
Select the tile matrix with specific name from the tile matrix set.
tileMatrixSet - the tile matrix set to select.tileMatrix - the tile matrix name.public static Rectangle2D getTileBounds(TileMatrix tileMatrix, int tileRow, int tileCol, double pixelSpan, PrjCoordSys prjCoordSys)
Get the geographical range of the specific tile.
tileMatrix - the tile matrix the tile is in.tileRow - Row number of tiles in tile matrix (counting from 0).tileCol - column number of tiles in tile matrix (counting from 0).xPixelSpan - the geographical length of a pixel in X axis (the actual geographical length multiplied by the scale).yPixelSpan - the geographical length of a pixel in Y axis (the actual geographical length multiplied by the scale).epsgCode - epsgCode in the mappublic static Rectangle getTileViewer(TileMatrix tileMatrix)
Get the size of each tile image in the tile matrix, the unit is pixel.
tileMatrix - the specific tile matrix.public static PrjCoordSys getPrjCoordSys(TileMatrixSet tileMatrixSet)
Get the corresponding projection system of the tile matrix set.
tileMatrixSet - the specific tile matrix set.public static java.util.List<ScaleMember> getScaleMembers(MapParameter defaultParam, double[] scales)
Get the corresponding scale member of the tile matrix according to the custom scale.
defautParam - map parameter.scales - scale array, the value is like 1.0E10.public static WellknownScaleSets fillCustomScaleMembers(double[] scales, double dpi, Unit unit, WellknownScaleSets wkScaleSets)
scales -dpi -wkScaleSets -