Ignore:
Timestamp:
2011-08-07T12:17:39+02:00 (13 years ago)
Author:
bastiK
Message:

major projection rework

More modular structure, inspired by Proj.4.

There are almost no semantic changes to the projection algorithms. Mostly factors of 'a' and 180/PI have been moved from one place to the other. In UTM_France_DOM, the ellipsoid conversion for the first 3 projections has been changed from hayford <-> GRS80 to hayford <-> WGS84.

Some redundant algorithms have been removed. In particular:

  • UTM_France_DOM used to have its own Transverse Mercator implementation. It is different from the implementation in TransverseMercator.java as it has another series expansion. For EPSG::2975, there are numeric differences on centimeter scale. However, the new data fits better with Proj.4 output.
  • Also removed are alternate implementations of LambertConformalConic. (They are all quite similar, though.)
File:
1 edited

Legend:

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

    r3530 r4285  
    1919    public static final Ellipsoid clarke = new Ellipsoid(6378249.2, 6356515.0);
    2020    /**
    21      * Hayford's ellipsoid (ED50 system)
     21     * Hayford's ellipsoid 1909 (ED50 system)
     22     * Proj.4 code: intl
    2223     */
    2324    public static final Ellipsoid hayford =
Note: See TracChangeset for help on using the changeset viewer.