public class WMTSMapUtil
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
EPSG_CODE_CGCS2000 |
static int |
EPSG_CODE_WEB_MERCATOR |
static double |
PRECISION |
构造器和说明 |
---|
WMTSMapUtil() |
限定符和类型 | 方法和说明 |
---|---|
static java.util.List<TileMatrix> |
convertToTileMatrices(java.util.List<ScaleMember> scaleMembers, Rectangle2D boundingBox) |
static boolean |
equalDouble(double firstValue, double secondValue)
比较Double值
|
static java.util.List<ScaleMember> |
getCustomScales(Rectangle2D bounds, PrjCoordSys prjCoordSys, double dpi) |
static Point2D |
getOrigin(TileMatrixSet matrixSet)
得到切片原点
|
static double[] |
getPixelSizes(java.util.List<ScaleMember> scaleMembers) |
static PrjCoordSys |
getPrjCoorSys(TileMatrixSet tileMatrixSet)
通过传入瓦片矩阵返回投影信息
|
static double[] |
getScaleDenominators(java.util.List<ScaleMember> scaleMembers) |
static java.lang.String |
getSupportedCRS(PrjCoordSys prjCoordSys) |
static int |
getTileCount(double length, double pixelSize, int pixelLength)
根据长度和像素大小获取瓦片数目
|
static TileMatrixSet |
getTileMatrixSetFromWellKnownScale(WellknownScale wellknownScale) |
static void |
swapPointCoordinate(Point2D pt)
调换点坐标
|
public static final int EPSG_CODE_CGCS2000
public static final int EPSG_CODE_WEB_MERCATOR
public static final double PRECISION
public static PrjCoordSys getPrjCoorSys(TileMatrixSet tileMatrixSet)
tileMatrixSet
-public static Point2D getOrigin(TileMatrixSet matrixSet)
得到切片原点
public static void swapPointCoordinate(Point2D pt)
pt
-public static boolean equalDouble(double firstValue, double secondValue)
firstValue
-secondValue
-public static java.lang.String getSupportedCRS(PrjCoordSys prjCoordSys)
public static int getTileCount(double length, double pixelSize, int pixelLength)
length
-pixelSize
-public static java.util.List<ScaleMember> getCustomScales(Rectangle2D bounds, PrjCoordSys prjCoordSys, double dpi)
public static double[] getScaleDenominators(java.util.List<ScaleMember> scaleMembers)
public static double[] getPixelSizes(java.util.List<ScaleMember> scaleMembers)
public static java.util.List<TileMatrix> convertToTileMatrices(java.util.List<ScaleMember> scaleMembers, Rectangle2D boundingBox)
public static TileMatrixSet getTileMatrixSetFromWellKnownScale(WellknownScale wellknownScale)