Class GeographicCRSWrapper

  • All Implemented Interfaces:
    java.io.Serializable, org.opengis.metadata.Identifier, org.opengis.referencing.crs.CoordinateReferenceSystem, org.opengis.referencing.crs.GeodeticCRS, org.opengis.referencing.crs.GeographicCRS, org.opengis.referencing.crs.SingleCRS, org.opengis.referencing.cs.CoordinateSystem, org.opengis.referencing.cs.EllipsoidalCS, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.ReferenceIdentifier, org.opengis.referencing.ReferenceSystem

    final class GeographicCRSWrapper
    extends AbstractCRS
    implements org.opengis.referencing.cs.EllipsoidalCS, org.opengis.referencing.crs.GeographicCRS
    Wraps a PROJ4J implementation behind the equivalent GeoAPI interface.
    • Constructor Detail

      • GeographicCRSWrapper

        GeographicCRSWrapper​(CoordinateReferenceSystem impl,
                             boolean is3D)
        Creates a new wrapper for the given PROJ4J implementation.
    • Method Detail

      • getCoordinateSystem

        public org.opengis.referencing.cs.EllipsoidalCS getCoordinateSystem()
        {@return the coordinate system, which is implemented by the same class for convenience}.
        Specified by:
        getCoordinateSystem in interface org.opengis.referencing.crs.CoordinateReferenceSystem
        Specified by:
        getCoordinateSystem in interface org.opengis.referencing.crs.GeographicCRS
        Specified by:
        getCoordinateSystem in interface org.opengis.referencing.crs.SingleCRS
        Overrides:
        getCoordinateSystem in class AbstractCRS