Package org.jscience.geography.coordinates
Provides linear or angular quantities which
designate the position that a point occupies in a given reference frame or system.
Coordinates are unambigous only when the coordinates reference system to which those coordinates are related has
been fully defined.
Applications may create new types of coordinates either by extending
Conversion between coordinates is achieved through their coordinates
reference system. For example:[code]
// Converts UTM coordinates to Latitude/Longitude.
UTM utm = UTM.valueOf(17, 'E', 444.5, 556.44, METRE);
CoordinatesConverter<UTM, LatLong> utmToLatLong = UTM.CRS.getConverterTo(LatLong.CRS);
LatLong latLong = utmToLatLong.convert(utm);
// Converts compound coordinates to X/Y/Z geocentric coordinates.
CompoundCoordinates<UTM, Height> utmHeight = new CompoundCoordinates(utm, new Height(2330.55, FOOT));
XYZ xyz = new CompoundCRS<UTM, Height>(UTM.CRS, Height.CRS).getConverterTo(XYZ.CRS).convert(utmHeight);
// Converts any projected coordinates to Latitude/Longitude.
CoordinatesCoordinates
(in which case they must provide a coordinates reference system) or simply by
combining
existing coordinates together. For example:[code]
// High-Precision Coordinates.
class Position3D extends Coordinates
-
ClassesClassDescriptionThis class represents the Mean-Sea-Level
verticalaltitude (MSL).This class represents a coordinates made up by combining two coordinates objects together.Coordinates<R extends CoordinateReferenceSystem<?>>This class designates the position that a point occupies in a given n-dimensional reference frame or system.This class represents theverticalheight above the WGS84 ellipsoid.This class represents thegeographiclatitude/longitude coordinates onto the WGS84 ellipsoid.This class represents thetemporalUTC time coordinates.This class represents theprojectedUniversal Transverse Mercator (UTM) coordinates onto the WGS84 ellipsoid.This class represents thegeocentricEarth-Centered, Earth-Fixed (ECEF) cartesian coordinates used in GPS/GLONASS.