public class TLcdEPSGGeodeticDatumFactory extends Object implements 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)
.
TLcdEPSGReferenceParser
Constructor and Description |
---|
TLcdEPSGGeodeticDatumFactory()
Constructs a new TLcdEPSGGeodeticDatumFactory object.
|
Modifier and Type | Method and Description |
---|---|
ILcdGeodeticDatum |
createGeodeticDatum(String aPrefix,
Properties aProperties)
Returns a
TLcdGeodeticDatum corresponding to the given property. |
public TLcdEPSGGeodeticDatumFactory()
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 the TLcdGeodeticDatum
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
using
TLcdEPSGReferenceParser#parseGeodeticDatum(String)
.
createGeodeticDatum
in interface ILcdGeodeticDatumFactory
aPrefix
- prefix for property names.aProperties
- Properties object from which to derive the geodetic datum.ILcdGeodeticDatum
associated to the combination
aPrefix
and aProperties
.IllegalArgumentException
- if no ILcdGeodeticDatum
is
associated to the combination
aPrefix
and aProperties
.