| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 权限排除路径:/proxy,要求全部小写 |
| | | */ |
| | | public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/fmeit/", "/perms/", "/floatserver/", "/error"}; |
| | | public static String[] EXCLUDE_PATH = new String[]{"/sign/", "/perms/", "/fmeit/", "/crds/", "/floatserver/", "/wmts/select", "/onemap/", "/swagger", "/error"}; |
| | | |
| | | /** |
| | | * 数值:4 |
| | | */ |
| | | public final static int I1 = 1; |
| | | |
| | | public final static int I2 = 2; |
| | | |
| | | public final static int FOUR = 4; |
| | | |
| | | /** |
| | | * 数值:9 |
| | | */ |
| | | public final static int I5 = 5; |
| | | |
| | | public final static int NINE = 9; |
| | | |
| | | /** |
| | | * 数值:10 |
| | | */ |
| | | public final static int TEN = 10; |
| | | public final static int I10 = 10; |
| | | |
| | | /** |
| | | * 数值:16 |
| | | */ |
| | | public final static int SIXTEEN = 16; |
| | | |
| | | /** |
| | | * 数值:200 |
| | | */ |
| | | public final static int TWO_HUNDRED = 200; |
| | | |
| | | /** |
| | | * 数值:1024.0 |
| | | */ |
| | | public final static int I100000 = 100000; |
| | | |
| | | public final static int I1000000 = 1000000; |
| | | |
| | | public static final double D90 = 90.0; |
| | | |
| | | public static final double D100 = 100.0; |
| | | |
| | | public static final double D1024 = 1024.0; |
| | | |
| | | /** |
| | | * 数值:1050.0 |
| | | */ |
| | | public static final double D1050 = 1050.0; |
| | | |
| | | /** |
| | | * 等号 |
| | | */ |
| | | public static final int I12 = 12; |
| | | |
| | | public static final int I23 = 23; |
| | | |
| | | public static final int I24 = 24; |
| | | |
| | | 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 final static int I120 = 120; |
| | | |
| | | 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; |
| | | |
| | | 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"; |
| | | |
| | | public final static String SLASH = "/"; |
| | | |
| | | /** |
| | | * zip文件 |
| | | */ |
| | | public final static String IN = "in"; |
| | | |
| | | public final static String DWG = "dwg"; |
| | | |
| | | public final static String ZIP = ".zip"; |
| | | |
| | | /** |
| | | * xls文件 |
| | | */ |
| | | public final static String XLS = ".xls"; |
| | | |
| | | /** |
| | | * xlsx文件 |
| | | */ |
| | | public final static String XLSX = ".xlsx"; |
| | | |
| | | /** |
| | | * MDB文件 |
| | | */ |
| | | public final static String MDB = ".mdb"; |
| | | |
| | | /** |
| | | * SHP文件 |
| | | */ |
| | | public final static String KML = ".kml"; |
| | | |
| | | public final static String SHP = ".shp"; |
| | | |
| | | /** |
| | | * GDB文件 |
| | | */ |
| | | public final static String NGDB = "gdb"; |
| | | |
| | | public final static String GDB = ".gdb"; |
| | | |
| | | /** |
| | | * IMG文件 |
| | | */ |
| | | public final static String JPG = ".jpg"; |
| | | |
| | | public final static String IMG = ".img"; |
| | | |
| | | /** |
| | | * MPT文件 |
| | | */ |
| | | public final static String MPT = ".mpt"; |
| | | |
| | | /** |
| | | * TIF文件 |
| | | */ |
| | | public final static String D3DML = ".3dml"; |
| | | |
| | | public final static String TIF = ".tif"; |
| | | |
| | | /** |
| | | * TIFF文件 |
| | | */ |
| | | public final static String TIFF = ".tiff"; |
| | | |
| | | /** |
| | | * 版本号 |
| | | */ |
| | | public final static String LAS = ".las"; |
| | | |
| | | public final static String OSGB = ".osgb"; |
| | | |
| | | public static String ADMIN = "admin"; |
| | | |
| | | 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 FILE_TYPES = "'xls','shp','gdb','mdb'"; |
| | | 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"; |
| | | |
| | | public final static String MULTILINESTRING = "MULTILINESTRING"; |
| | | |
| | | public final static String POLYGON = "POLYGON"; |
| | | |
| | | public final static String MULTIPOLYGON = "MULTIPOLYGON"; |
| | | |
| | | public final static String MULTICURVE = "MULTICURVE"; |
| | | |
| | | public final static String COMPOUNDCURVE = "COMPOUNDCURVE"; |
| | | |
| | | public final static String CGCS2000 = "CGCS2000"; |
| | | |
| | | public static final String NO_FILE = JSON.toJSONString(new ResponseMsg<String>(HttpStatus.NOT_FOUND, "文件找不到")); |
| | | |
| | | /** |
| | | * 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 List<String> RASTER_EXT = new ArrayList<>(Arrays.asList(".img", ".tif", ".tiff", ".jpg", ".jp2")); |
| | | |
| | | /** |
| | | * 密码正则表达式 |
| | |
| | | /** |
| | | * MPT文件扩展名 |
| | | */ |
| | | public final static List<String> MPT_EXTE = new ArrayList<>(Arrays.asList(".midx", ".strmi")); |
| | | 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文件扩展名 |
| | |
| | | /** |
| | | * 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文件扩展名 |
| | |
| | | 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", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".png", ".img", ".tif", ".tiff", ".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", ".lz", ".kml")); |
| | | |
| | | /** |
| | | * 插入排除字段 |
| | |
| | | /** |
| | | * 读取排除字段 |
| | | */ |
| | | public final static List<String> READ_EXCLUDE_FIELDS = new ArrayList<>(Arrays.asList("gid", "objectid", "dirid", "depid", "verid", "createtime", "createuser", "updateuser", "updatetime", "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")); |