| | |
| | | */ |
| | | 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 NINE = 9; |
| | | public final static int I3 = 3; |
| | | |
| | | public final static int TEN = 10; |
| | | public final static int I4 = 4; |
| | | |
| | | public final static int SIXTEEN = 16; |
| | | public final static int I5 = 5; |
| | | |
| | | public final static int I6 = 6; |
| | | |
| | | public final static int I8 = 8; |
| | | |
| | | 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; |
| | | |
| | |
| | | |
| | | 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; |
| | |
| | | |
| | | public static final int I180_NEG = -180; |
| | | |
| | | public static final int I200 = 200; |
| | | |
| | | public static final int I500 = 500; |
| | | |
| | | public static final int I1000 = 1000; |
| | | |
| | | public static final int I1024 = 1024; |
| | | |
| | | public static final int I2050 = 2050; |
| | | |
| | |
| | | public final static String COMMA = ","; |
| | | |
| | | public final static String TILDE = "~"; |
| | | |
| | | public final static String QUESTION = "?"; |
| | | |
| | | public final static String BACKSLASH = "\\\\"; |
| | | |
| | | public final static String SINGLE_QUOTES = "'"; |
| | | |
| | |
| | | |
| | | public final static String OSGB = ".osgb"; |
| | | |
| | | public final static String NULL = "null"; |
| | | |
| | | public static String ADMIN = "admin"; |
| | | |
| | | public final static String SYS_META = "sysmeta"; |
| | |
| | | |
| | | public final static String NO = "NO"; |
| | | |
| | | public final static String ROUTE = "线路"; |
| | | public final static String DOM = "DOM"; |
| | | |
| | | public final static String CROSSING = "穿跨越"; |
| | | 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"; |
| | | |
| | |
| | | public final static String MULTICURVE = "MULTICURVE"; |
| | | |
| | | 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, "文件找不到")); |
| | | |
| | |
| | | |
| | | public final static List<String> EPSGS = new ArrayList<>(Arrays.asList("EPSG:4326", "EPSG:4490", "ESRI:104903")); |
| | | |
| | | public final static List<Integer> DEFAULT_EPSG = new ArrayList<>(Arrays.asList(0, 104903, 900914)); |
| | | |
| | | /** |
| | | * 16进制 |
| | | */ |
| | | public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; |
| | | |
| | | /** |
| | | * 数字正则表达式 |
| | | */ |
| | | 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文件扩展名 |
| | |
| | | /** |
| | | * 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")); |
| | | |
| | | /** |
| | | * 所有文件扩展名 |