Class TLcdEPSGGeodeticDatumFactory

java.lang.Object
com.luciad.geodesy.TLcdEPSGGeodeticDatumFactory
All Implemented Interfaces:
ILcdGeodeticDatumFactory

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).

Since:
9.0
See Also:
  • 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 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).

      Specified by:
      createGeodeticDatum in interface ILcdGeodeticDatumFactory
      Parameters:
      aPrefix - prefix for property names.
      aProperties - Properties object from which to derive the geodetic datum.
      Returns:
      ILcdGeodeticDatum associated to the combination aPrefix and aProperties.
      Throws:
      IllegalArgumentException - if no ILcdGeodeticDatum is associated to the combination aPrefix and aProperties.