- Timestamp:
- 2015-12-13T00:56:39+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Ellipsoid.java
r8846 r9104 34 34 */ 35 35 public static final Ellipsoid Bessel1841 = Ellipsoid.create_a_rf(6377397.155, 299.1528128); 36 37 /** 38 * Bessel 1841 (Namibia) 39 */ 40 public static final Ellipsoid BesselNamibia = Ellipsoid.create_a_rf(6377483.865, 299.1528128); 36 41 37 42 /** … … 41 46 42 47 /** 48 * Clarke 1880 (modified) 49 */ 50 public static final Ellipsoid Clarke1880 = Ellipsoid.create_a_rf(6378249.145, 293.4663); 51 52 /** 43 53 * Clarke 1880 IGN (French national geographic institute) 44 54 */ 45 55 public static final Ellipsoid ClarkeIGN = Ellipsoid.create_a_b(6378249.2, 6356515.0); 46 56 57 /** 58 * Everest (Sabah & Sarawak) 59 */ 60 public static final Ellipsoid EverestSabahSarawak = Ellipsoid.create_a_rf(6377298.556, 300.8017); 61 47 62 /** 48 63 * GRS67 ellipsoid … … 71 86 */ 72 87 public static final Ellipsoid Krassowsky = Ellipsoid.create_a_rf(6378245.0, 298.3); 88 89 /** 90 * WGS66 ellipsoid 91 */ 92 public static final Ellipsoid WGS66 = Ellipsoid.create_a_rf(6378145.0, 298.25); 73 93 74 94 /** -
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r9100 r9104 25 25 import org.openstreetmap.josm.data.projection.datum.GRS80Datum; 26 26 import org.openstreetmap.josm.data.projection.datum.NTV2GridShiftFileWrapper; 27 import org.openstreetmap.josm.data.projection.datum.SevenParameterDatum; 28 import org.openstreetmap.josm.data.projection.datum.ThreeParameterDatum; 27 29 import org.openstreetmap.josm.data.projection.datum.WGS84Datum; 28 30 import org.openstreetmap.josm.data.projection.proj.ClassProjFactory; … … 84 86 ellipsoids.put("aust_SA", Ellipsoid.AustSA); 85 87 ellipsoids.put("bessel", Ellipsoid.Bessel1841); 88 ellipsoids.put("bess_nam", Ellipsoid.BesselNamibia); 86 89 ellipsoids.put("clrk66", Ellipsoid.Clarke1866); 90 ellipsoids.put("clrk80", Ellipsoid.Clarke1880); 87 91 ellipsoids.put("clarkeIGN", Ellipsoid.ClarkeIGN); 92 ellipsoids.put("evrstSS", Ellipsoid.EverestSabahSarawak); 88 93 ellipsoids.put("intl", Ellipsoid.Hayford); 89 94 ellipsoids.put("helmert", Ellipsoid.Helmert); … … 91 96 ellipsoids.put("GRS67", Ellipsoid.GRS67); 92 97 ellipsoids.put("GRS80", Ellipsoid.GRS80); 98 ellipsoids.put("WGS66", Ellipsoid.WGS66); 93 99 ellipsoids.put("WGS72", Ellipsoid.WGS72); 94 100 ellipsoids.put("WGS84", Ellipsoid.WGS84); … … 96 102 datums.put("WGS84", WGS84Datum.INSTANCE); 97 103 datums.put("GRS80", GRS80Datum.INSTANCE); 104 datums.put("NAD83", GRS80Datum.INSTANCE); 105 datums.put("carthage", new ThreeParameterDatum( 106 "Carthage 1934 Tunisia", "carthage", 107 Ellipsoid.Clarke1880, -263.0, 6.0, 431.0)); 108 datums.put("GGRS87", new ThreeParameterDatum( 109 "Greek Geodetic Reference System 1987", "GGRS87", 110 Ellipsoid.GRS80, -199.87, 74.79, 246.62)); 111 datums.put("hermannskogel",new ThreeParameterDatum( 112 "Hermannskogel", "hermannskogel", 113 Ellipsoid.Bessel1841, 653.0, -212.0, 449.0)); 114 datums.put("ire65", new SevenParameterDatum( 115 "Ireland 1965", "ire65", 116 Ellipsoid.AiryMod, 482.530, -130.596, 564.557, -1.042, -0.214, -0.631, 8.15)); 117 datums.put("nzgd49", new SevenParameterDatum( 118 "New Zealand Geodetic Datum 1949", "nzgd49", 119 Ellipsoid.Hayford, 59.47, -5.04, 187.44, 0.47, -0.1, 1.024, -4.5993)); 120 datums.put("OSGB36", new SevenParameterDatum( 121 "Airy 1830", "OSGB36", 122 Ellipsoid.Airy, 446.448, -125.157, 542.060, 0.1502, 0.2470, 0.8421, -20.4894)); 123 datums.put("potsdam", new SevenParameterDatum( 124 "Potsdam Rauenberg 1950 DHDN", "potsdam", 125 Ellipsoid.Bessel1841, 598.1, 73.7, 418.2, 0.202, 0.045, -2.455, 6.7)); 98 126 99 127 nadgrids.put("BETA2007.gsb", NTV2GridShiftFileWrapper.BETA2007);
Note:
See TracChangeset
for help on using the changeset viewer.