Class CoordinateReferenceSystem
java.lang.Object
org.locationtech.proj4j.CoordinateReferenceSystem
- All Implemented Interfaces:
Serializable
Represents a projected or geodetic geospatial coordinate system,
to which coordinates may be referenced.
A coordinate system is defined by the following things:
- an
Ellipsoidspecifies how the shape of the Earth is approximated - a
Datumprovides the mapping from the ellipsoid to actual locations on the earth - a
Projectionmethod maps the ellpsoidal surface to a planar space. (The projection method may be null in the case of geodetic coordinate systems). - a
Unitindicates how the ordinate values of coordinates are interpreted
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CoordinateReferenceSystemprivate Datumprivate Stringprivate String[]private Projection -
Constructor Summary
ConstructorsConstructorDescriptionCoordinateReferenceSystem(String name, String[] params, Datum datum, Projection proj) -
Method Summary
-
Field Details
-
CS_GEO
-
name
-
params
-
datum
-
proj
-
-
Constructor Details
-
CoordinateReferenceSystem
-
-
Method Details
-
getName
-
getParameters
-
getDatum
-
getProjection
-
getParameterString
-
isGeographic
-
createGeographic
Creates a geographic (unprojected)CoordinateReferenceSystembased on theDatumof this CRS. This is useful for definingCoordinateTransforms to and from geographic coordinate systems, where no datum transformation is required. TheUnitsof the geographic CRS are set toUnits.DEGREES.- Returns:
- a geographic CoordinateReferenceSystem based on the datum of this CRS
-
toString
-
equals
-
hashCode
-