Class NullDatum
- java.lang.Object
-
- org.openstreetmap.josm.data.projection.datum.AbstractDatum
-
- org.openstreetmap.josm.data.projection.datum.NullDatum
-
- All Implemented Interfaces:
Datum
- Direct Known Subclasses:
GRS80Datum
,WGS84Datum
public class NullDatum extends AbstractDatum
Null Datum does not convert from / to WGS84 ellipsoid, but simply "casts" the coordinates.- Since:
- 4285
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.data.projection.datum.AbstractDatum
ellps, name, proj4Id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLon
fromWGS84(LatLon ll)
Convert lat/lon fromEllipsoid.WGS84
to this datum.LatLon
toWGS84(LatLon ll)
Convert lat/lon from this datum toEllipsoid.WGS84
datum.-
Methods inherited from class org.openstreetmap.josm.data.projection.datum.AbstractDatum
getEllipsoid, getName, getProj4Id
-
-
-
-
Method Detail
-
toWGS84
public LatLon toWGS84(LatLon ll)
Description copied from interface:Datum
Convert lat/lon from this datum toEllipsoid.WGS84
datum.- Parameters:
ll
- original lat/lon in this datum- Returns:
- lat/lon converted to WGS84
-
fromWGS84
public LatLon fromWGS84(LatLon ll)
Description copied from interface:Datum
Convert lat/lon fromEllipsoid.WGS84
to this datum.- Parameters:
ll
- original lat/lon in WGS84- Returns:
- converted lat/lon in this datum
-
-