Class GeographicCRSWrapper
java.lang.Object
org.locationtech.proj4j.geoapi.Wrapper
org.locationtech.proj4j.geoapi.AbstractCRS
org.locationtech.proj4j.geoapi.GeographicCRSWrapper
- All Implemented Interfaces:
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.
-
Field Summary
Fields inherited from class AbstractCRS
impl, is3DFields inherited from class Wrapper
BIDIMENSIONAL, TRIDIMENSIONALFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface org.opengis.metadata.Identifier
AUTHORITY_KEY, CODE_KEYFields inherited from interface org.opengis.referencing.ReferenceIdentifier
CODESPACE_KEY, VERSION_KEYFields inherited from interface org.opengis.referencing.ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY -
Constructor Summary
ConstructorsConstructorDescriptionGeographicCRSWrapper(CoordinateReferenceSystem impl, boolean is3D) Creates a new wrapper for the given PROJ4J implementation. -
Method Summary
Modifier and TypeMethodDescription(package private) final Axis[]ReturnsAxis.GEOGRAPHICandAxis.PROJECTEDarrays, depending on whether this CRS is geographic or projected.org.opengis.referencing.cs.EllipsoidalCSReturns the coordinate system, which is implemented by the same class for convenience.Methods inherited from class AbstractCRS
clearAxisCache, getAxis, getCode, getDatum, getDimension, implementation, wrapMethods inherited from class Wrapper
equals, getAlias, getAuthority, getCodeSpace, getDomainOfValidity, getIdentifiers, getName, getRemarks, getScope, getVersion, hashCode, toString, toWKTMethods inherited from interface org.opengis.referencing.cs.CoordinateSystem
getAxis, getDimensionMethods inherited from interface org.opengis.referencing.crs.GeodeticCRS
getDatumMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKTMethods inherited from interface org.opengis.referencing.ReferenceSystem
getDomainOfValidity, getScope
-
Constructor Details
-
GeographicCRSWrapper
GeographicCRSWrapper(CoordinateReferenceSystem impl, boolean is3D) Creates a new wrapper for the given PROJ4J implementation.
-
-
Method Details
-
getCoordinateSystem
public org.opengis.referencing.cs.EllipsoidalCS getCoordinateSystem()Returns the coordinate system, which is implemented by the same class for convenience..- Specified by:
getCoordinateSystemin interfaceorg.opengis.referencing.crs.CoordinateReferenceSystem- Specified by:
getCoordinateSystemin interfaceorg.opengis.referencing.crs.GeographicCRS- Specified by:
getCoordinateSystemin interfaceorg.opengis.referencing.crs.SingleCRS- Overrides:
getCoordinateSystemin classAbstractCRS- Returns:
- the coordinate system, which is implemented by the same class for convenience
-
axesForAllDirections
Description copied from class:AbstractCRSReturnsAxis.GEOGRAPHICandAxis.PROJECTEDarrays, depending on whether this CRS is geographic or projected. The returned array is not cloned, the caller shall not modify it.- Specified by:
axesForAllDirectionsin classAbstractCRS
-