Package com.luciad.geodesy
Class TLcdEPSGGeodeticDatumFactory
java.lang.Object
com.luciad.geodesy.TLcdEPSGGeodeticDatumFactory
- All Implemented Interfaces:
ILcdGeodeticDatumFactory
GeodeticDatumFactory of different geodetic datums with respect to WGS-1984, taken from the EPSG database.
Note that it is possible to create geodetic datums using only the EPSG code String
using
TLcdEPSGReferenceParser#parseGeodeticDatum(String)
.
- Since:
- 9.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new TLcdEPSGGeodeticDatumFactory object. -
Method Summary
Modifier and TypeMethodDescriptioncreateGeodeticDatum
(String aPrefix, Properties aProperties) Returns aTLcdGeodeticDatum
corresponding to the given property.
-
Constructor Details
-
TLcdEPSGGeodeticDatumFactory
public TLcdEPSGGeodeticDatumFactory()Constructs a new TLcdEPSGGeodeticDatumFactory object.
-
-
Method Details
-
createGeodeticDatum
public ILcdGeodeticDatum createGeodeticDatum(String aPrefix, Properties aProperties) throws IllegalArgumentException Returns a
TLcdGeodeticDatum
corresponding to the given property. It will look for the following key :<aPrefix>TLcdEPSGGeodeticDatumFactory.geodeticDatumName
: the WKT name of theTLcdGeodeticDatum
of which an instance should be created, or the EPSG code representing a datum.Note that it is possible to create geodetic datums using only the EPSG code
String
usingTLcdEPSGReferenceParser#parseGeodeticDatum(String)
.- Specified by:
createGeodeticDatum
in interfaceILcdGeodeticDatumFactory
- Parameters:
aPrefix
- prefix for property names.aProperties
- Properties object from which to derive the geodetic datum.- Returns:
ILcdGeodeticDatum
associated to the combinationaPrefix
andaProperties
.- Throws:
IllegalArgumentException
- if noILcdGeodeticDatum
is associated to the combinationaPrefix
andaProperties
.
-