Package org.locationtech.proj4j
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
Ellipsoid
specifies how the shape of the Earth is approximated - a
Datum
provides the mapping from the ellipsoid to actual locations on the earth - a
Projection
method maps the ellpsoidal surface to a planar space. (The projection method may be null in the case of geodetic coordinate systems). - a
Unit
indicates how the ordinate values of coordinates are interpreted
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CoordinateReferenceSystem
private Datum
private String
private 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)CoordinateReferenceSystem
based on theDatum
of this CRS. This is useful for definingCoordinateTransform
s to and from geographic coordinate systems, where no datum transformation is required. TheUnits
of the geographic CRS are set toUnits.DEGREES
.- Returns:
- a geographic CoordinateReferenceSystem based on the datum of this CRS
-
toString
-
equals
-
hashCode
public int hashCode()
-