com.supermap.services.wmts

类 WMTSMapUtil

  • java.lang.Object
    • com.supermap.services.wmts.WMTSMapUtil


  • public class WMTSMapUtil
    extends java.lang.Object
    
    • 字段详细资料

      • EPSG_CODE_CGCS2000

        public static final int EPSG_CODE_CGCS2000
        
      • EPSG_CODE_WEB_MERCATOR

        public static final int EPSG_CODE_WEB_MERCATOR
        
      • PRECISION

        public static final double PRECISION
        
    • 构造器详细资料

      • WMTSMapUtil

        public WMTSMapUtil()
        
    • 方法详细资料

      • getPrjCoorSys

        public static PrjCoordSys getPrjCoorSys(TileMatrixSet tileMatrixSet)
        
        通过传入瓦片矩阵返回投影信息
        参数:
        tileMatrixSet -
        返回:
      • swapPointCoordinate

        public static void swapPointCoordinate(Point2D pt)
        
        调换点坐标
        参数:
        pt -
      • equalDouble

        public static boolean equalDouble(double firstValue,
                          double secondValue)
        
        比较Double值
        参数:
        firstValue -
        secondValue -
        返回:
      • getSupportedCRS

        public static java.lang.String getSupportedCRS(PrjCoordSys prjCoordSys)
        
      • getTileCount

        public static int getTileCount(double length,
                       double pixelSize,
                       int pixelLength)
        
        根据长度和像素大小获取瓦片数目
        参数:
        length -
        pixelSize -
        返回:
      • getScaleDenominators

        public static double[] getScaleDenominators(java.util.List<ScaleMember> scaleMembers)
        
      • getPixelSizes

        public static double[] getPixelSizes(java.util.List<ScaleMember> scaleMembers)