From fee67ca8a0760315047a52fc4101a8f4f80b7a7f Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 11 十一月 2024 15:02:54 +0800
Subject: [PATCH] 1

---
 src/main/java/com/moon/server/entity/all/StaticData.java |  105 ++++++++++++++++------------------------------------
 1 files changed, 32 insertions(+), 73 deletions(-)

diff --git a/src/main/java/com/moon/server/entity/all/StaticData.java b/src/main/java/com/moon/server/entity/all/StaticData.java
index 99b97d3..eaa7f57 100644
--- a/src/main/java/com/moon/server/entity/all/StaticData.java
+++ b/src/main/java/com/moon/server/entity/all/StaticData.java
@@ -6,14 +6,8 @@
 import java.util.Arrays;
 import java.util.List;
 
-/**
- * 闈欐�佹暟鎹被
- * @author WWW
- */
+@SuppressWarnings("ALL")
 public class StaticData {
-    /**
-     * 鏉冮檺鎺掗櫎璺緞锛�/proxy锛岃姹傚叏閮ㄥ皬鍐�
-     */
     public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/floatserver/", "/proxy/", "/swagger", "/error"};
 
     public final static int I0 = 0;
@@ -28,17 +22,25 @@
 
     public final static int I5 = 5;
 
-    public final static int NINE = 9;
+    public final static int I6 = 6;
 
-    public final static int TEN = 10;
+    public final static int I8 = 8;
 
-    public final static int SIXTEEN = 16;
+    public final static int I9 = 9;
+
+    public final static int I10 = 10;
+
+    public final static int I16 = 16;
+
+    public final static int I30 = 30;
 
     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 D05 = 0.05;
 
     public static final double D90 = 90.0;
 
@@ -60,6 +62,8 @@
 
     public static final int I60 = 60;
 
+    public static final int I64 = 64;
+
     public static final int I90 = 90;
 
     public static final int I90_NEG = -90;
@@ -78,6 +82,8 @@
 
     public static final int I1000 = 1000;
 
+    public static final int I1024 = 1024;
+
     public static final int I2050 = 2050;
 
     public static final int I4326 = 4326;
@@ -95,6 +101,8 @@
     public final static String COMMA = ",";
 
     public final static String TILDE = "~";
+
+    public final static String QUESTION = "?";
 
     public final static String BACKSLASH = "\\\\";
 
@@ -170,6 +178,14 @@
 
     public final static String DOM = "DOM";
 
+    public final static String LAYERS = "layers";
+
+    public final static String REQUEST = "request";
+
+    public final static String SERVICE = "service";
+
+    public final static String GET_CAPABILITIES = "GetCapabilities";
+
     public final static String SUCCESS = "$SUCCESS";
 
     public final static String LINESTRING = "LINESTRING";
@@ -184,11 +200,10 @@
 
     public final static String COMPOUNDCURVE = "COMPOUNDCURVE";
 
+    public final static String QUERYABLE = "<Layer queryable=\"1\" opaque=\"0\">";
+
     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" +
@@ -206,103 +221,47 @@
 
     public final static List<String> EPSGS = new ArrayList<>(Arrays.asList("EPSG:4326", "EPSG:4490", "ESRI:104903"));
 
-    /**
-     * 16杩涘埗
-     */
+    public final static List<Integer> DEFAULT_EPSG = new ArrayList<>(Arrays.asList(0, 104903, 900914));
+
     public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
 
-    /**
-     * 瀵嗙爜姝e垯琛ㄨ揪寮�
-     */
+    public final static String DIGIT_REG = "\\d+";
+
     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鏂囦欢鎵╁睍鍚�
-     */
     public final static List<String> MPT_EXT = new ArrayList<>(Arrays.asList(".midx", ".strmi", ".ei.midx", ".ei.mpt", ".ei.strmi"));
 
-    /**
-     * JPG鏂囦欢鎵╁睍鍚�
-     */
     public final static List<String> JPG_EXT = new ArrayList<>(Arrays.asList(".jpg.aux.xml", ".jpg.ovr", ".jpg.xml", ".jgw", ".prj"));
 
-    /**
-     * JP2鏂囦欢鎵╁睍鍚�
-     */
     public final static List<String> JP2_EXT = new ArrayList<>(Arrays.asList(".jp2.aux.xml", ".jp2.ovr", ".jp2.xml", ".jgw", ".prj", ".jp2.html", ".jp2.txt"));
 
-    /**
-     * IMG鏂囦欢鎵╁睍鍚�
-     */
     public final static List<String> IMG_EXT = new ArrayList<>(Arrays.asList(".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml"));
 
-    /**
-     * TIF鏂囦欢鎵╁睍鍚�
-     */
     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", ".aux", ".tiff.ovr", ".tiff.aux.xml", ".tiff.xml"));
 
-    /**
-     * SHP鏂囦欢鎵╁睍鍚�
-     */
     public final static List<String> SHP_EXT = new ArrayList<>(Arrays.asList(".shx", ".dbf", ".prj", ".cpg"));
 
-    /**
-     * 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", ".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", ".csv"));
 
-    /**
-     * 鎻掑叆鎺掗櫎瀛楁
-     */
     public final static List<String> INSERT_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "updateuser", "updatetime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
 
-    /**
-     * 鏇存柊鎺掗櫎瀛楁
-     */
     public final static List<String> UPDATE_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("objectid", "createuser", "createtime", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
 
-    /**
-     * 璇诲彇鎺掗櫎瀛楁
-     */
     public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "eventid", "parentid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "shape_leng", "shape_area", "serialversionuid", "dirname", "depname", "vername", "createname", "updatename"));
 
-    /**
-     * MDB鎺掗櫎瀛楁
-     */
     public final static List<String> MDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("Shape", "SHAPE_LENG", "Shape_Length", "Shape_Area", "OBJECTID_1"));
 
-    /**
-     * 鏍囩粯Shp鎺掗櫎瀛楁
-     */
     public final static List<String> MARK_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("wkt", "geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
 
-    /**
-     * GDB鎺掗櫎瀛楁
-     */
     public final static List<String> GDB_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("geom", "objectid", "shape_leng", "shape_area", "serialVersionUID", "dirName", "depName", "verName", "createName", "updateName"));
 
-    /**
-     * 绠$嚎鍒嗘瀽琛ㄥ悕闆嗗悎
-     */
     public final static List<String> PIPE_ANALYSIS_TABS = new ArrayList<>(Arrays.asList("bd.dlg_25w_hydl", "bd.dlg_25w_lrdl", "bd.dlg_25w_lrrl", "bd.dlg_25w_hyda"));
 
-    /**
-     * 绠$嚎鎺掗櫎瀛楁
-     */
     public final static List<String> PIPE_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("serialVersionUID", "tabs", "pwd", "gid", "wkt"));
 }

--
Gitblit v1.9.3