Class ProjectionWrapper2D

  • All Implemented Interfaces:
    java.io.Serializable, org.opengis.metadata.Identifier, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.Conversion, org.opengis.referencing.operation.CoordinateOperation, org.opengis.referencing.operation.MathTransform, org.opengis.referencing.operation.MathTransform2D, org.opengis.referencing.operation.Projection, org.opengis.referencing.operation.SingleOperation, org.opengis.referencing.ReferenceIdentifier

    final class ProjectionWrapper2D
    extends TransformWrapper2D
    implements org.opengis.referencing.operation.Projection
    Wraps a PROJ4J transform behind the equivalent GeoAPI interface for the two-dimensional case of a map projection. The source CRS must be geographic and the target CRS must be projected.
    • Constructor Detail

      • ProjectionWrapper2D

        ProjectionWrapper2D​(CoordinateTransform impl)
        Creates a new wrapper for the given PROJ4J implementation.
    • Method Detail

      • getMethod

        public org.opengis.referencing.operation.OperationMethod getMethod()
        {@return a description of the map projection}.
        Specified by:
        getMethod in interface org.opengis.referencing.operation.SingleOperation
      • getParameterValues

        public org.opengis.parameter.ParameterValueGroup getParameterValues()
        {@return the parameters of the map projection}. In this implementation, this is provided by the same class as the description.
        Specified by:
        getParameterValues in interface org.opengis.referencing.operation.SingleOperation