Package noaa.coastwatch.util.trans
Class DatumFactory
java.lang.Object
noaa.coastwatch.util.trans.DatumFactory
- All Implemented Interfaces:
SpheroidConstants
The
DatumFactory
class creates geodetic
Datum
objects corresponding to various spheroid
codes.- Since:
- 3.2.0
- Author:
- Peter Hollemans
-
Field Summary
Fields inherited from interface noaa.coastwatch.util.trans.SpheroidConstants
AIRY, AUS_NAT, BESSEL, CLARKE1866, CLARKE1880, EVEREST, GRS1980, HOUGH, INT1909, INT1967, KRASS, MAX_SPHEROIDS, MERCURY1960, MOD_AIRY, MOD_EVEREST, MOD_MER1968, SE_ASIA, SPHERE, SPHEROID_INV_FLAT, SPHEROID_NAMES, SPHEROID_SEMI_MAJOR, SPHEROID_SEMI_MINOR, STD_RADIUS, WGS66, WGS72, WGS84
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DatumFactory
public DatumFactory()
-
-
Method Details
-
create
Creates a datum instance based on a spheroid code. SinceDatum
instances are immutable, the same instance is returned each time for the same spheroid code.- Parameters:
spheroid
- the spheroid code for the datum.- Returns:
- the datum object, or null if the specified spheroid has no valid datum.
-