Changeset 13582 in josm


Ignore:
Timestamp:
2018-03-28T23:24:09+02:00 (3 weeks ago)
Author:
Don-vip
Message:

see #16129 - add new Ellipsoids taken from PROJ.4

Location:
trunk/src/org/openstreetmap/josm/data/projection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Ellipsoid.java

    r13423 r13582  
    5757
    5858    /**
     59     * Everest 1830
     60     */
     61    public static final Ellipsoid Everest = Ellipsoid.createArf(6377276.345, 300.8017);
     62
     63    /**
     64     * Everest 1948
     65     */
     66    public static final Ellipsoid Everest1948 = Ellipsoid.createArf(6377304.063, 300.8017);
     67
     68    /**
     69     * Everest 1956
     70     */
     71    public static final Ellipsoid Everest1956 = Ellipsoid.createArf(6377301.243, 300.8017);
     72
     73    /**
     74     * Everest 1969
     75     */
     76    public static final Ellipsoid Everest1969 = Ellipsoid.createArf(6377295.664, 300.8017);
     77
     78    /**
    5979     * Everest (Sabah & Sarawak)
    6080     */
     
    7090     */
    7191    public static final Ellipsoid FischerMod = Ellipsoid.createArf(6378155., 298.3);
     92
     93    /**
     94     * Fischer 1968
     95     */
     96    public static final Ellipsoid Fischer1968 = Ellipsoid.createArf(6378150., 298.3);
    7297
    7398    /**
     
    94119
    95120    /**
     121     * Hough
     122     */
     123    public static final Ellipsoid Hough = Ellipsoid.createArf(6378270.0, 297.0);
     124
     125    /**
    96126     * Krassowsky 1940 ellipsoid
    97127     */
    98128    public static final Ellipsoid Krassowsky = Ellipsoid.createArf(6378245.0, 298.3);
     129
     130    /**
     131     * Sphere
     132     */
     133    public static final Ellipsoid Sphere = Ellipsoid.createAb(6371008.7714, 6371008.7714);
     134
     135    /**
     136     * Walbeck
     137     */
     138    public static final Ellipsoid Walbeck = Ellipsoid.createAb(6376896.0, 6355834.8467);
    99139
    100140    /**
  • trunk/src/org/openstreetmap/josm/data/projection/Projections.java

    r13434 r13582  
    109109        ellipsoids.put("clrk80", Ellipsoid.Clarke1880);
    110110        ellipsoids.put("clrk80ign", Ellipsoid.ClarkeIGN);
     111        ellipsoids.put("evrst30", Ellipsoid.Everest);
     112        ellipsoids.put("evrst48", Ellipsoid.Everest1948);
     113        ellipsoids.put("evrst56", Ellipsoid.Everest1956);
     114        ellipsoids.put("evrst69", Ellipsoid.Everest1969);
    111115        ellipsoids.put("evrstSS", Ellipsoid.EverestSabahSarawak);
    112116        ellipsoids.put("fschr60", Ellipsoid.Fischer);
    113117        ellipsoids.put("fschr60m", Ellipsoid.FischerMod);
     118        ellipsoids.put("fschr68", Ellipsoid.Fischer1968);
    114119        ellipsoids.put("intl", Ellipsoid.Hayford);
    115120        ellipsoids.put("helmert", Ellipsoid.Helmert);
     121        ellipsoids.put("hough", Ellipsoid.Hough);
    116122        ellipsoids.put("krass", Ellipsoid.Krassowsky);
     123        ellipsoids.put("sphere", Ellipsoid.Sphere);
     124        ellipsoids.put("walbeck", Ellipsoid.Walbeck);
    117125        ellipsoids.put("GRS67", Ellipsoid.GRS67);
    118126        ellipsoids.put("GRS80", Ellipsoid.GRS80);
Note: See TracChangeset for help on using the changeset viewer.