/** * Creates a temporal datum from an enumerated type value. * * @param properties Name and other properties to give to the new object. * @param origin The date and time origin of this temporal datum. * @throws FactoryException if the object creation failed. */ public synchronized TemporalDatum createTemporalDatum( final Map<String, ?> properties, final Date origin) throws FactoryException { return getDatumFactory().createTemporalDatum(addAliases(properties), origin); }
/** * Creates an engineering datum. * * @param properties Name and other properties to give to the new object. * @throws FactoryException if the object creation failed. */ public synchronized EngineeringDatum createEngineeringDatum(final Map<String, ?> properties) throws FactoryException { return getDatumFactory().createEngineeringDatum(addAliases(properties)); }
/** * Creates a vertical datum from an enumerated type value. * * @param properties Name and other properties to give to the new object. * @param type The type of this vertical datum (often geoidal). * @throws FactoryException if the object creation failed. */ public synchronized VerticalDatum createVerticalDatum( final Map<String, ?> properties, final VerticalDatumType type) throws FactoryException { return getDatumFactory().createVerticalDatum(addAliases(properties), type); }
/** * Creates an image datum. * * @param properties Name and other properties to give to the new object. * @param pixelInCell Specification of the way the image grid is associated with the image data * attributes. * @throws FactoryException if the object creation failed. */ public synchronized ImageDatum createImageDatum( final Map<String, ?> properties, final PixelInCell pixelInCell) throws FactoryException { return getDatumFactory().createImageDatum(addAliases(properties), pixelInCell); }
/** * Creates a prime meridian, relative to Greenwich. * * @param properties Name and other properties to give to the new object. * @param longitude Longitude of prime meridian in supplied angular units East of Greenwich. * @param angularUnit Angular units of longitude. * @throws FactoryException if the object creation failed. */ public synchronized PrimeMeridian createPrimeMeridian( final Map<String, ?> properties, final double longitude, final Unit<Angle> angularUnit) throws FactoryException { return getDatumFactory() .createPrimeMeridian(addAliases(properties), longitude, angularUnit); }
/** * Creates an ellipsoid from radius values. * * @param properties Name and other properties to give to the new object. * @param semiMajorAxis Equatorial radius in supplied linear units. * @param semiMinorAxis Polar radius in supplied linear units. * @param unit Linear units of ellipsoid axes. * @throws FactoryException if the object creation failed. */ public synchronized Ellipsoid createEllipsoid( final Map<String, ?> properties, final double semiMajorAxis, final double semiMinorAxis, final Unit<Length> unit) throws FactoryException { return getDatumFactory() .createEllipsoid(addAliases(properties), semiMajorAxis, semiMinorAxis, unit); }
/** * Creates geodetic datum from ellipsoid and (optionaly) Bursa-Wolf parameters. * * @param properties Name and other properties to give to the new object. * @param ellipsoid Ellipsoid to use in new geodetic datum. * @param primeMeridian Prime meridian to use in new geodetic datum. * @throws FactoryException if the object creation failed. */ public synchronized GeodeticDatum createGeodeticDatum( final Map<String, ?> properties, final Ellipsoid ellipsoid, final PrimeMeridian primeMeridian) throws FactoryException { return getDatumFactory() .createGeodeticDatum(addAliases(properties), ellipsoid, primeMeridian); }
/** * Creates an ellipsoid from an major radius, and inverse flattening. * * @param properties Name and other properties to give to the new object. * @param semiMajorAxis Equatorial radius in supplied linear units. * @param inverseFlattening Eccentricity of ellipsoid. * @param unit Linear units of major axis. * @throws FactoryException if the object creation failed. */ public synchronized Ellipsoid createFlattenedSphere( final Map<String, ?> properties, final double semiMajorAxis, final double inverseFlattening, final Unit<Length> unit) throws FactoryException { return getDatumFactory() .createFlattenedSphere( addAliases(properties), semiMajorAxis, inverseFlattening, unit); }