| | |
| | | |
| | | public final static String JPG = ".jpg"; |
| | | |
| | | public final static String JP2 = ".jp2"; |
| | | |
| | | public final static String IMG = ".img"; |
| | | |
| | | public final static String MPT = ".mpt"; |
| | |
| | | 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\"]]"; |
| | | |
| | | /** |
| | | * 16进制 |
| | | */ |
| | | public static final char[] HEX_DIGITS = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; |
| | |
| | | /** |
| | | * JPG文件扩展名 |
| | | */ |
| | | public final static List<String> JPG_EXT = new ArrayList<>(Arrays.asList(".jgw", ".jpg.aux.xml", ".jpg.xml", ".prj")); |
| | | 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文件扩展名 |
| | |
| | | /** |
| | | * Mapper排除扩展名 |
| | | */ |
| | | 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")); |
| | | 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> 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", ".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")); |
| | | |
| | | /** |
| | | * 插入排除字段 |