org.openstreetmap.josm.data.projection.datum
Interface Datum

All Known Implementing Classes:
AbstractDatum, CentricDatum, GRS80Datum, NTV2Datum, NullDatum, SevenParameterDatum, ThreeParameterDatum, WGS84Datum

public interface Datum

Represents a geodetic datum. Basically it provides conversion functions from and to the WGS84 datum.


Method Summary
 LatLon fromWGS84(LatLon ll)
          Convert lat/lon from WGS84 to this datum.
 Ellipsoid getEllipsoid()
           
 java.lang.String getName()
           
 java.lang.String getProj4Id()
           
 LatLon toWGS84(LatLon ll)
          Convert lat/lon from this datum to WGS84 datum.
 

Method Detail

getName

java.lang.String getName()
Returns:
a human readable name of this projection

getProj4Id

java.lang.String getProj4Id()
Returns:
the Proj.4 identifier (as reported by cs2cs -ld) If no id exists, return null.

getEllipsoid

Ellipsoid getEllipsoid()
Returns:
the ellipsoid associated with this datum

toWGS84

LatLon toWGS84(LatLon ll)
Convert lat/lon from this datum to WGS84 datum.


fromWGS84

LatLon fromWGS84(LatLon ll)
Convert lat/lon from WGS84 to this datum.



JOSM