Interface DatumFactory

    • Method Detail

      • createGeodeticDatum

        @UML(identifier="createHorizontalDatum",
             specification=OGC_01009)
        GeodeticDatum createGeodeticDatum​(Map<String,​?> properties,
                                          Ellipsoid ellipsoid,
                                          PrimeMeridian primeMeridian)
                                   throws FactoryException
        Creates geodetic datum from ellipsoid and (optionally) Bursa-Wolf parameters.
        Parameters:
        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.
        Returns:
        the datum for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createImageDatum

        ImageDatum createImageDatum​(Map<String,​?> properties,
                                    PixelInCell pixelInCell)
                             throws FactoryException
        Creates an image datum.
        Parameters:
        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.
        Returns:
        the datum for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createTemporalDatum

        TemporalDatum createTemporalDatum​(Map<String,​?> properties,
                                          Date origin)
                                   throws FactoryException
        Creates a temporal datum from an enumerated type value.
        Upcoming API change — temporal schema
        The argument type of this method may change in GeoAPI 4.0 release. It may be replaced by a type matching more closely either ISO 19108 (Temporal Schema) or ISO 19103.
        Parameters:
        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.
        Returns:
        the datum for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createParametricDatum

        ParametricDatum createParametricDatum​(Map<String,​?> properties)
                                       throws FactoryException
        Creates a parametric datum.
        Parameters:
        properties - name and other properties to give to the new object. Available properties are listed there.
        Returns:
        the datum for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createEllipsoid

        @UML(identifier="createEllipsoid",
             specification=OGC_01009)
        Ellipsoid createEllipsoid​(Map<String,​?> properties,
                                  double semiMajorAxis,
                                  double semiMinorAxis,
                                  Unit<Length> unit)
                           throws FactoryException
        Creates an ellipsoid from radius values.
        Parameters:
        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.
        Returns:
        the ellipsoid for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createFlattenedSphere

        @UML(identifier="createFlattenedSphere",
             specification=OGC_01009)
        Ellipsoid createFlattenedSphere​(Map<String,​?> properties,
                                        double semiMajorAxis,
                                        double inverseFlattening,
                                        Unit<Length> unit)
                                 throws FactoryException
        Creates an ellipsoid from an major radius, and inverse flattening.
        Parameters:
        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.
        Returns:
        the ellipsoid for the given properties.
        Throws:
        FactoryException - if the object creation failed.
      • createPrimeMeridian

        @UML(identifier="createPrimeMeridian",
             specification=OGC_01009)
        PrimeMeridian createPrimeMeridian​(Map<String,​?> properties,
                                          double longitude,
                                          Unit<Angle> unit)
                                   throws FactoryException
        Creates a prime meridian, relative to Greenwich.
        Parameters:
        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.
        Returns:
        the prime meridian for the given properties.
        Throws:
        FactoryException - if the object creation failed.