public class CoordinateReferenceSystem extends Object implements Serializable
Ellipsoid
specifies how the shape of the Earth is approximated
Datum
provides the mapping from the ellipsoid to
actual locations on the earth
Projection
method maps the ellpsoidal surface to a planar space.
(The projection method may be null in the case of geodetic coordinate systems).
Unit
indicates how the ordinate values
of coordinates are interpreted
CRSFactory
,
Serialized FormModifier and Type | Field and Description |
---|---|
static CoordinateReferenceSystem |
CS_GEO |
Constructor and Description |
---|
CoordinateReferenceSystem(String name,
String[] params,
Datum datum,
Projection proj) |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem |
createGeographic()
Creates a geographic (unprojected)
CoordinateReferenceSystem
based on the Datum of this CRS. |
boolean |
equals(Object that) |
Datum |
getDatum() |
String |
getName() |
String[] |
getParameters() |
String |
getParameterString() |
Projection |
getProjection() |
int |
hashCode() |
Boolean |
isGeographic() |
String |
toString() |
public static final CoordinateReferenceSystem CS_GEO
public CoordinateReferenceSystem(String name, String[] params, Datum datum, Projection proj)
public String getName()
public String[] getParameters()
public Datum getDatum()
public Projection getProjection()
public String getParameterString()
public Boolean isGeographic()
public CoordinateReferenceSystem createGeographic()
CoordinateReferenceSystem
based on the Datum
of this CRS.
This is useful for defining CoordinateTransform
s
to and from geographic coordinate systems,
where no datum transformation is required.
The Units
of the geographic CRS are set to Units.DEGREES
.Copyright © 2021. All rights reserved.