| | |
| | | |
| | | 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进制 |
| | | */ |
| | |
| | | |
| | | // SpatialReference sr = new SpatialReference(); sr.ImportFromEPSG(null == srid || 0 == srid ? StaticData.I104903 : srid) |
| | | SpatialReference sr; |
| | | if (null == srid || 0 == srid) { |
| | | if (null == srid || StaticData.DEFAULT_EPSG.contains(srid)) { |
| | | sr = new SpatialReference(StaticData.MOON_2000_WKT); |
| | | } else { |
| | | sr = new SpatialReference(); |