| | |
| | | * @date 2023-09-14 |
| | | */ |
| | | public class GeoHelper { |
| | | public static SpatialReference sr4326; |
| | | |
| | | public static SpatialReference sr4490; |
| | | |
| | | public static SpatialReference sr104903; |
| | | |
| | | public final static double MOON_RADIUS = 1738000; |
| | |
| | | */ |
| | | public static void initSr() { |
| | | try { |
| | | sr4326 = new SpatialReference(); |
| | | sr4326.ImportFromEPSG(StaticData.I4326); |
| | | |
| | | sr4490 = new SpatialReference(); |
| | | sr4490.ImportFromEPSG(StaticData.I4490); |
| | | |
| | | sr104903 = new SpatialReference(StaticData.MOON_2000_WKT); |
| | | |
| | | crs104903 = CRS.parseWKT(StaticData.MOON_2000_WKT); |