public class CoordinateReferenceSystem extends Object
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| Modifier 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. |
Datum |
getDatum() |
String |
getName() |
String[] |
getParameters() |
String |
getParameterString() |
Projection |
getProjection() |
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 CoordinateReferenceSystem createGeographic()
CoordinateReferenceSystem
based on the Datum of this CRS.
This is useful for defining CoordinateTransforms
to and from geographic coordinate systems,
where no datum transformation is required.
The Units of the geographic CRS are set to Units.DEGREES.Copyright © 2015. All rights reserved.