月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-30 4e7ae7e903a07389607cf47ad8f2bbd5e8ccd8d6
src/main/java/com/moon/server/entity/all/StaticData.java
@@ -16,11 +16,17 @@
     */
    public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/floatserver/", "/proxy/", "/swagger", "/error"};
    public final static int TWO = 2;
    public final static int I0 = 0;
    public final static int THREE = 3;
    public final static int I1 = 1;
    public final static int FOUR = 4;
    public final static int I2 = 2;
    public final static int I3 = 3;
    public final static int I4 = 4;
    public final static int I5 = 5;
    public final static int NINE = 9;
@@ -76,34 +82,16 @@
    public static final int I104903 = 104903;
    /**
     * 字符1
     */
    public final static String S1 = "1";
    /**
     * 等号
     */
    public final static String EQ = "=";
    /**
     * 字符点
     */
    public final static String POINT = ".";
    /**
     * 逗号
     */
    public final static String COMMA = ",";
    /**
     * 波浪号
     */
    public final static String TILDE = "~";
    /**
     * 单引号
     */
    public final static String SINGLE_QUOTES = "'";
    public final static String BBOREHOLE = "bborehole";
@@ -114,9 +102,6 @@
    public final static String TEXT_XML = "text/xml";
    /**
     * 正斜杠
     */
    public final static String SLASH = "/";
    public final static String IN = "in";
@@ -137,6 +122,8 @@
    public final static String JPG = ".jpg";
    public final static String JP2 = ".jp2";
    public final static String IMG = ".img";
    public final static String MPT = ".mpt";
@@ -155,53 +142,26 @@
    public final static String SYS_META = "sysmeta";
    /**
     * 版本号
     */
    public final static String VERSION = "1.0.0";
    /**
     * 令牌键
     */
    public final static String TOKEN_KEY = "token";
    /**
     * Cookie中令牌键
     */
    public final static String TOKEN_COOKIE_KEY = "token";
    /**
     * 文本编码方式
     */
    public final static String TEXT_ENCODER = "UTF-8";
    /**
     * 总质检
     */
    public final static String CHECK_MAIN = "checkMain";
    /**
     * Object对象
     */
    public final static String OBJECT = "java.lang.Object";
    /**
     * Cookie中druid键
     */
    public final static String DRUID_COOKIE_KEY = "JSESSIONID";
    public final static String YES = "YES";
    public final static String NO = "NO";
    /**
     * 线路
     */
    public final static String ROUTE = "线路";
    /**
     * 穿跨越
     */
    public final static String CROSSING = "穿跨越";
    public final static String LINESTRING = "LINESTRING";
@@ -219,6 +179,26 @@
    public static final String NO_FILE = JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NOT_FOUND, "文件找不到"));
    /**
     * 月球2000坐标系的WKT
     */
    public static final String MOON_2000_WKT = "GEOGCS[\"GCS_Moon_2000\",\r\n" +
            "    DATUM[\"D_Moon_2000\",\r\n" +
            "        SPHEROID[\"Moon_2000_IAU_IAG\",1737400,0,\r\n" +
            "            AUTHORITY[\"ESRI\",\"107903\"]],\r\n" +
            "        AUTHORITY[\"ESRI\",\"106903\"]],\r\n" +
            "    PRIMEM[\"Reference_Meridian\",0,\r\n" +
            "        AUTHORITY[\"ESRI\",\"108900\"]],\r\n" +
            "    UNIT[\"degree\",0.0174532925199433,\r\n" +
            "        AUTHORITY[\"EPSG\",\"9122\"]],\r\n" +
            "    AUTHORITY[\"ESRI\",\"104903\"]]";
    public final static String CGCS2000 = "CGCS2000";
    public final static String MOON200 = "GCS_Moon_2000";
    public final static List<String> EPSGS = new ArrayList<>(Arrays.asList("EPSG:4326", "EPSG:4490", "EPSG:104903"));
    /**
     * 16进制
     */
    public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
@@ -227,6 +207,11 @@
     * 密码正则表达式
     */
    public final static String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$";
    /**
     * 栅格数据扩展名
     */
    public final static List<String> RASTER_EXT = new ArrayList<>(Arrays.asList(".img", ".tif", ".tiff", ".jpg", ".jp2"));
    /**
     * MPT文件扩展名
@@ -266,12 +251,12 @@
    /**
     * Mapper排除扩展名
     */
    public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".jpg.aux.xml", ".jpg.xml", ".jp2.aux.xml", ".jp2.xml", ".jp2.html", ".jp2.txt", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml"));
    public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".jpg.aux.xml", ".jpg.xml", ".jp2.aux.xml", ".jp2.xml", ".jp2.html", ".jp2.txt", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml", ".ecw.xml", "ecw.aux.xml"));
    /**
     * 所有文件扩展名
     */
    public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".jp2", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip"));
    public final static List<String> ALL_EXTENSION = new ArrayList<>(Arrays.asList(".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".jp2", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip", ".csv"));
    /**
     * 插入排除字段