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
ConstructorsConstructorDescriptionConstructs a new TLcdEPSGGeodeticDatumFactory object. -
Method Summary
Modifier and TypeMethodDescriptioncreateGeodeticDatum(String aPrefix, Properties aProperties) Returns aTLcdGeodeticDatumcorresponding 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
TLcdGeodeticDatumcorresponding to the given property. It will look for the following key :<aPrefix>TLcdEPSGGeodeticDatumFactory.geodeticDatumName: the WKT name of theTLcdGeodeticDatumof 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
StringusingTLcdEPSGReferenceParser#parseGeodeticDatum(String).- Specified by:
createGeodeticDatumin interfaceILcdGeodeticDatumFactory- Parameters:
aPrefix- prefix for property names.aProperties- Properties object from which to derive the geodetic datum.- Returns:
ILcdGeodeticDatumassociated to the combinationaPrefixandaProperties.- Throws:
IllegalArgumentException- if noILcdGeodeticDatumis associated to the combinationaPrefixandaProperties.
-