source: josm/trunk/src/org/openstreetmap/josm/data/projection/datum/GRS80Datum.java@ 5226

Last change on this file since 5226 was 4869, checked in by jttt, 12 years ago

Use final were appropriate

  • Property svn:eol-style set to native
File size: 753 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.projection.datum;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import org.openstreetmap.josm.data.coor.LatLon;
7import org.openstreetmap.josm.data.projection.Ellipsoid;
8
9/**
10 * This datum indicates, that GRS80 ellipsoid is used and no conversion
11 * is necessary to get from or to the WGS84 datum.
12 */
13public class GRS80Datum extends AbstractDatum {
14
15 public final static GRS80Datum INSTANCE = new GRS80Datum();
16
17 private GRS80Datum() {
18 super(tr("GRS80"), null, Ellipsoid.GRS80);
19 }
20
21 @Override
22 public LatLon fromWGS84(LatLon ll) {
23 return ll;
24 }
25
26 @Override
27 public LatLon toWGS84(LatLon ll) {
28 return ll;
29 }
30}
Note: See TracBrowser for help on using the repository browser.