Ignore:
Timestamp:
2016-01-22T16:50:40+01:00 (8 years ago)
Author:
bastiK
Message:

add 2 standard parallel & non-spherical variants for Mercator projection (see #12186)
(imports pieces of code from the Geotools project)

File:
1 edited

Legend:

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

    r9558 r9565  
    7474     */
    7575    protected double e2;
     76   
     77    /**
     78     * is ellipsoid spherical?
     79     * @see Ellisoid.spherical
     80     */
     81    protected boolean spherical;
    7682
    7783    @Override
     
    7985        e2 = params.ellps.e2;
    8086        e = params.ellps.e;
     87        spherical = params.ellps.spherical;
    8188        //  Compute constants for the mlfn
    8289        double t;
Note: See TracChangeset for help on using the changeset viewer.