From bf9f5d506d34cbbcc68f77cdf71e30a6cf3cd7d4 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 09 八月 2023 13:50:07 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/StaticData.java | 41 ++++++++++++++++++++++++++++++++++------- 1 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/lf/server/entity/all/StaticData.java b/src/main/java/com/lf/server/entity/all/StaticData.java index 6a87499..206cf99 100644 --- a/src/main/java/com/lf/server/entity/all/StaticData.java +++ b/src/main/java/com/lf/server/entity/all/StaticData.java @@ -14,7 +14,7 @@ /** * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐� */ - public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/swagger", "/error"}; + public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/onemap/", "/swagger", "/error"}; public final static int TWO = 2; @@ -26,11 +26,13 @@ public final static int SIXTEEN = 16; - public final static int ONE_HUNDRED = 100; - public final static int TWO_HUNDRED = 200; public final static int ONE_HUNDRED_THOUSAND = 100000; + + public static final double D90 = 90.0; + + public static final double D100 = 100.0; public static final double D1024 = 1024.0; @@ -44,17 +46,25 @@ public static final int I31 = 31; + public static final int I50 = 50; + public static final int I60 = 60; public static final int I90 = 90; public static final int I90_NEG = -90; + public final static int I100 = 100; + public static final int I180 = 180; public static final int I180_NEG = -180; + public static final int I1000 = 1000; + public static final int I2050 = 2050; + + public static final int I4326 = 4326; public static final int I4490 = 4490; @@ -77,6 +87,11 @@ * 閫楀彿 */ public final static String COMMA = ","; + + /** + * 娉㈡氮鍙� + */ + public final static String TILDE = "~"; /** * 鍗曞紩鍙� @@ -102,6 +117,8 @@ public final static String SHP = ".shp"; + public final static String NGDB = "gdb"; + public final static String GDB = ".gdb"; public final static String JPG = ".jpg"; @@ -116,7 +133,13 @@ public final static String TIFF = ".tiff"; - public final static String ADMIN = "admin"; + public final static String LAS = ".las"; + + public final static String OSGB = ".osgb"; + + public static String ADMIN = "admin"; + + public final static String SYS_META = "sysmeta"; /** * 鐗堟湰鍙� @@ -175,6 +198,10 @@ public final static String MULTIPOLYGON = "MULTIPOLYGON"; + public final static String MULTICURVE = "MULTICURVE"; + + public final static String COMPOUNDCURVE = "COMPOUNDCURVE"; + public static final String NO_FILE = JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NOT_FOUND, "鏂囦欢鎵句笉鍒�")); /** @@ -205,12 +232,12 @@ /** * TIF鏂囦欢鎵╁睍鍚� */ - public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tif.ovr", ".tif.aux.xml", ".tif.enp", ".tif.xml")); + public final static List<String> TIF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".aux", ".tif.ovr", ".tif.aux.xml", ".tif.xml")); /** * TIFF鏂囦欢鎵╁睍鍚� */ - public final static List<String> TIFF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".tiff.ovr", ".tiff.aux.xml", ".tiff.enp", ".tiff.xml")); + public final static List<String> TIFF_EXT = new ArrayList<>(Arrays.asList(".prj", ".tfw", ".aux", ".tiff.ovr", ".tiff.aux.xml", ".tiff.xml")); /** * SHP鏂囦欢鎵╁睍鍚� @@ -220,7 +247,7 @@ /** * Mapper鎺掗櫎鎵╁睍鍚� */ - public final static List<String> MAPPER_EXCLUDE_EXT = new ArrayList<>(Arrays.asList(".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", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml")); /** * 鎵�鏈夋枃浠舵墿灞曞悕 -- Gitblit v1.9.3