@UML(identifier="CS_CoordinateSystemFactory", specification=OGC_01009) public interface DatumFactory extends ObjectFactory
DatumFactory
allows applications to make datums that cannot be created by a DatumAuthorityFactory
. This factory is very flexible, whereas the authority factory is easier to
use. So DatumAuthorityFactory
can be used to make "standard" datums, and DatumFactory
can be used to make "special" datums.CSFactory
,
CRSFactory
Modifier and Type | Method and Description |
---|---|
Ellipsoid |
createEllipsoid(Map<String,?> properties,
double semiMajorAxis,
double semiMinorAxis,
Unit<Length> unit)
Creates an ellipsoid from radius values.
|
EngineeringDatum |
createEngineeringDatum(Map<String,?> properties)
Creates an engineering datum.
|
Ellipsoid |
createFlattenedSphere(Map<String,?> properties,
double semiMajorAxis,
double inverseFlattening,
Unit<Length> unit)
Creates an ellipsoid from an major radius, and inverse flattening.
|
GeodeticDatum |
createGeodeticDatum(Map<String,?> properties,
Ellipsoid ellipsoid,
PrimeMeridian primeMeridian)
Creates geodetic datum from ellipsoid and (optionaly) Bursa-Wolf parameters.
|
ImageDatum |
createImageDatum(Map<String,?> properties,
PixelInCell pixelInCell)
Creates an image datum.
|
PrimeMeridian |
createPrimeMeridian(Map<String,?> properties,
double longitude,
Unit<Angle> unit)
Creates a prime meridian, relative to Greenwich.
|
TemporalDatum |
createTemporalDatum(Map<String,?> properties,
Date origin)
Creates a temporal datum from an enumerated type value.
|
VerticalDatum |
createVerticalDatum(Map<String,?> properties,
VerticalDatumType type)
Creates a vertical datum from an enumerated type value.
|
@UML(identifier="createLocalDatum", specification=OGC_01009) EngineeringDatum createEngineeringDatum(Map<String,?> properties) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.FactoryException
- if the object creation failed.@UML(identifier="createHorizontalDatum", specification=OGC_01009) GeodeticDatum createGeodeticDatum(Map<String,?> properties, Ellipsoid ellipsoid, PrimeMeridian primeMeridian) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.ellipsoid
- Ellipsoid to use in new geodetic datum.primeMeridian
- Prime meridian to use in new geodetic datum.FactoryException
- if the object creation failed.ImageDatum createImageDatum(Map<String,?> properties, PixelInCell pixelInCell) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.pixelInCell
- Specification of the way the image grid is associated with the image data
attributes.FactoryException
- if the object creation failed.TemporalDatum createTemporalDatum(Map<String,?> properties, Date origin) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.origin
- The date and time origin of this temporal datum.FactoryException
- if the object creation failed.@UML(identifier="createVerticalDatum", specification=OGC_01009) VerticalDatum createVerticalDatum(Map<String,?> properties, VerticalDatumType type) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.type
- The type of this vertical datum (often "geoidal").FactoryException
- if the object creation failed.@UML(identifier="createEllipsoid", specification=OGC_01009) Ellipsoid createEllipsoid(Map<String,?> properties, double semiMajorAxis, double semiMinorAxis, Unit<Length> unit) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.semiMajorAxis
- Equatorial radius in supplied linear units.semiMinorAxis
- Polar radius in supplied linear units.unit
- Linear units of ellipsoid axes.FactoryException
- if the object creation failed.@UML(identifier="createFlattenedSphere", specification=OGC_01009) Ellipsoid createFlattenedSphere(Map<String,?> properties, double semiMajorAxis, double inverseFlattening, Unit<Length> unit) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.semiMajorAxis
- Equatorial radius in supplied linear units.inverseFlattening
- Eccentricity of ellipsoid.unit
- Linear units of major axis.FactoryException
- if the object creation failed.@UML(identifier="createPrimeMeridian", specification=OGC_01009) PrimeMeridian createPrimeMeridian(Map<String,?> properties, double longitude, Unit<Angle> unit) throws FactoryException
properties
- Name and other properties to give to the new object. Available properties
are listed there.longitude
- Longitude of prime meridian in supplied angular units East of Greenwich.unit
- Angular units of longitude.FactoryException
- if the object creation failed.Copyright © 1996–2019 Geotools. All rights reserved.