public class GeographicCoordinateReferenceSystem extends CoordinateReferenceSystem
CoordinateReferenceSystem
.
A GeographicCoordinateReferenceSystem
is defined as a coordinate system based on
latitude and longitude. Some geographic coordinate systems are Lat/Lon, and some are Lon/Lat.
You can find out which this is by examining the CoordinateSystemAxes
.
You should also check the angular units, since not all geographic coordinate systems use degrees
(see [CTS-1.00], p. 63).
Constructor and Description |
---|
GeographicCoordinateReferenceSystem(CrsId crsId,
String name,
CoordinateSystemAxis... axes)
Constructs a
CoordinateReferenceSystem . |
Modifier and Type | Method and Description |
---|---|
Datum |
getDatum()
Returns the
Datum for this CoordinateReferenceSystem |
PrimeMeridian |
getPrimeMeridian()
Returns the
PrimeMeridian of this CoordinateReferenceSystem . |
Unit |
getUnit()
Returns the
Unit for this CoordinateReferenceSystem . |
void |
setDatum(Datum datum)
Sets the
Datum for this CoordinateReferenceSystem |
void |
setPrimeMeridian(PrimeMeridian primeMeridian)
Sets the
PrimeMeridian for this CoordinateReferenceSystem . |
equals, getAxes, getCoordinateSystem, hashCode
getCrsId, getName
public GeographicCoordinateReferenceSystem(CrsId crsId, String name, CoordinateSystemAxis... axes)
CoordinateReferenceSystem
.crsId
- the CrsId
that identifies this CoordinateReferenceSystem
uniquelyname
- the commonly used name for this CoordinateReferenceSystem
axes
- the CoordinateSystemAxes
for this CoordinateReferenceSystem
IllegalArgumentException
- if less than two CoordinateSystemAxes
are passed.public void setDatum(Datum datum)
Datum
for this CoordinateReferenceSystem
datum
- the Datum
public Datum getDatum()
Datum
for this CoordinateReferenceSystem
public void setPrimeMeridian(PrimeMeridian primeMeridian)
PrimeMeridian
for this CoordinateReferenceSystem
.primeMeridian
- the PrimeMeridian
public PrimeMeridian getPrimeMeridian()
PrimeMeridian
of this CoordinateReferenceSystem
.PrimeMeridian
public Unit getUnit()
Unit
for this CoordinateReferenceSystem
.Unit
Copyright © 2015 geolatte.org. All rights reserved.