Changeset 2304 in josm


Ignore:
Timestamp:
2009-10-24T13:39:45+02:00 (15 years ago)
Author:
stoecker
Message:

apply #3737 - patch by Pieren - new Lambert zones for France, still needs some rework

Location:
trunk/src/org/openstreetmap/josm/data/projection
Files:
1 added
3 edited

Legend:

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

    r1929 r2304  
    1111 * the reference ellipsoids
    1212 */
    13 class Ellipsoid {
     13public class Ellipsoid {
    1414    /**
    1515     * Clarke's ellipsoid (NTF system)
     
    2222        new Ellipsoid(6378388.0, 6356911.9461);
    2323    /**
     24     * GRS80 ellipsoid
     25     */
     26    public static final Ellipsoid GRS80 = new Ellipsoid(6378137.0, 6356752.3141);
     27
     28    /**
    2429     * WGS84 ellipsoid
    2530     */
    26     public static final Ellipsoid GRS80 = new Ellipsoid(6378137.0, 6356752.314);
     31    public static final Ellipsoid WGS84 = new Ellipsoid(6378137.0, 6356752.3142);
    2732
    2833    /**
  • trunk/src/org/openstreetmap/josm/data/projection/Lambert.java

    r2114 r2304  
    141141
    142142    @Override public String toString() {
    143         return tr("Lambert Zone (France)");
     143        return tr("Lambert 4 Zones (France)");
    144144    }
    145145
    146146    public String toCode() {
    147         return "EPSG:"+(27571+currentZone);
     147        return "EPSG:"+(27561+currentZone);
    148148    }
    149149
  • trunk/src/org/openstreetmap/josm/data/projection/Projection.java

    r2114 r2304  
    3131        new UTM_20N_Guadeloupe_Fort_Marigot(),
    3232        new UTM_20N_Martinique_Fort_Desaix(),
    33         new GaussLaborde_Reunion()
     33        new GaussLaborde_Reunion(),
     34        new LambertCC9Zones()    // Still needs proper default zoom
    3435    };
    3536
Note: See TracChangeset for help on using the changeset viewer.