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.- Since:
- 4285
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LatLon
fromWGS84(LatLon ll)
Convert lat/lon fromEllipsoid.WGS84
to this datum.Ellipsoid
getEllipsoid()
Returns the ellipsoid associated with this datum.java.lang.String
getName()
Returns a human readable name of this projection.java.lang.String
getProj4Id()
Replies the Proj.4 identifier.LatLon
toWGS84(LatLon ll)
Convert lat/lon from this datum toEllipsoid.WGS84
datum.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns a human readable name of this projection.- Returns:
- a human readable name of this projection
-
getProj4Id
java.lang.String getProj4Id()
Replies the Proj.4 identifier.- 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.- Returns:
- the ellipsoid associated with this datum
-
toWGS84
LatLon toWGS84(LatLon ll)
Convert lat/lon from this datum toEllipsoid.WGS84
datum.- Parameters:
ll
- original lat/lon in this datum- Returns:
- lat/lon converted to WGS84
-
fromWGS84
LatLon fromWGS84(LatLon ll)
Convert lat/lon fromEllipsoid.WGS84
to this datum.- Parameters:
ll
- original lat/lon in WGS84- Returns:
- converted lat/lon in this datum
-
-