public class GeodeticDatum extends AbstractDatum
Datum used to determine positions relative
to the Earth (longitude / latitude) It is recommended that every
GeodeticDatum has a toWGS84
SevenParameterTransformation attribute
(which may eventually be a
GeocentricTranslation or the
Identity transformation). This
operation must be the standard 3D transformation from/to the
GeocentricCoordinateSystem defined by this Datum to/from the
GeocentricCoordinateSystem defined by WGS84 Datum.
Moreover, a
GeodeticDatum also contains a map which may contain other
CoordinateOperations from the standard Geographic2DCRS or
Geographic3DCRS associated with this Datum to the one associated to another
Datum.
| Modifier and Type | Field and Description |
|---|---|
static GeodeticDatum |
CARTHAGE |
static GeodeticDatum |
ED50
European Datum 1950.
|
static GeodeticDatum |
GGRS87 |
static GeodeticDatum |
HERMANNSKOGEL |
static GeodeticDatum |
IRE65 |
static GeodeticDatum |
NAD27 |
static GeodeticDatum |
NAD83 |
static GeodeticDatum |
NAD83_2011 |
static GeodeticDatum |
NAD83_CORS96 |
static GeodeticDatum |
NAD83_HARN |
static GeodeticDatum |
NTF
Nouvelle Triangulation Française.
|
static GeodeticDatum |
NTF_PARIS
Nouvelle Triangulation Française (Paris).
|
static GeodeticDatum |
NZGD49 |
static GeodeticDatum |
OSGB36 |
static GeodeticDatum |
POSTDAM |
static GeodeticDatum |
RGF93
Réseau géodésique français 1993.
|
static GeodeticDatum |
WGS84
World Geodetic System 1984.
|
static GeodeticDatum |
WGS84GUAD |
static GeodeticDatum |
WGS84MART |
static GeodeticDatum |
WGS84SBSM |
DEFAULT, LOCAL, UNKNOWN| Modifier and Type | Method and Description |
|---|---|
void |
addGeocentricTransformation(GeodeticDatum targetDatum,
GeocentricTransformation coordOp)
Adds a Geocentric Transformation from this datum to targetDatum.
|
void |
addGeographicTransformation(GeodeticDatum targetDatum,
CoordinateOperation coordOp)
Add a Geographic Transformation to another GeodeticDatum.
|
static GeodeticDatum |
createGeodeticDatum(Identifier identifier,
PrimeMeridian primeMeridian,
Ellipsoid ellipsoid,
GeocentricTransformation toWGS84,
GeographicExtent extent,
String origin,
String epoch)
Creates a new Datum or return a known datum if it already exists.
|
static GeodeticDatum |
createGeodeticDatum(PrimeMeridian primeMeridian,
Ellipsoid ellipsoid,
GeocentricTransformation toWGS84)
Creates a new Datum.
|
boolean |
equals(Object o)
Returns true if o equals
this. |
Ellipsoid |
getEllipsoid()
Return the ellipsoid of this Datum.
|
Set<GeocentricTransformation> |
getGeocentricTransformations(GeodeticDatum targetDatum)
Get available geocentric transformations to another datum.
|
static GeodeticDatum |
getGeodeticDatum(Object id) |
Set<CoordinateOperation> |
getGeographicTransformations(GeodeticDatum targetDatum)
Get available geographic transformations to another datum.
|
Set<CoordinateOperation> |
getHeightTransformations(Datum datum)
Get available geographic transformations to another datum.
|
PrimeMeridian |
getPrimeMeridian()
Return the PrimeMeridian of this Datum.
|
Set<GeodeticDatum> |
getTargetDatum() |
GeocentricTransformation |
getToWGS84()
Returns the default transformation to WGS84 of this Datum.
|
int |
hashCode()
Returns the hash code for this GeodeticDatum.
|
void |
removeAllTransformations()
Removes all transformation from this datum to others and the other way.
|
void |
setDefaultToWGS84Operation(GeocentricTransformation toWGS84)
Sets the default transformation to WGS84 in two forms :
toWGS84 Geocentric transformation
toWGS84 is an operation to transform geocentric coordinates based on
this datum to geocentric coordinates based on WGS84 datum, generally a
translation or a SevenParameterTransformation (ex.
|
String |
toString()
Returns a String representation of this GeodeticDatum.
|
String |
toWKT()
Returns a WKT representation of the geodetic datum.
|
getEpoch, getExtent, getOriginaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortNamepublic static final GeodeticDatum WGS84
public static final GeodeticDatum NTF_PARIS
public static final GeodeticDatum NTF
public static final GeodeticDatum RGF93
public static final GeodeticDatum ED50
public static final GeodeticDatum WGS84GUAD
public static final GeodeticDatum WGS84MART
public static final GeodeticDatum WGS84SBSM
public static final GeodeticDatum NAD27
public static final GeodeticDatum NAD83
public static final GeodeticDatum NAD83_HARN
public static final GeodeticDatum NAD83_CORS96
public static final GeodeticDatum NAD83_2011
public static final GeodeticDatum GGRS87
public static final GeodeticDatum HERMANNSKOGEL
public static final GeodeticDatum POSTDAM
public static final GeodeticDatum CARTHAGE
public static final GeodeticDatum NZGD49
public static final GeodeticDatum OSGB36
public static final GeodeticDatum IRE65
public static GeodeticDatum createGeodeticDatum(PrimeMeridian primeMeridian, Ellipsoid ellipsoid, GeocentricTransformation toWGS84)
primeMeridian - the prime meridian to use with this datumellipsoid - the ellipsoid to use with this datumtoWGS84 - the toWGS84 CoordinateOperationpublic static GeodeticDatum createGeodeticDatum(Identifier identifier, PrimeMeridian primeMeridian, Ellipsoid ellipsoid, GeocentricTransformation toWGS84, GeographicExtent extent, String origin, String epoch)
identifier - identifier.primeMeridian - the prime meridian to use with this datumellipsoid - the ellipsoid to use with this datumextent - this datum extensionorigin - origin decription this datumepoch - realization epoch of this datumpublic PrimeMeridian getPrimeMeridian()
public Ellipsoid getEllipsoid()
public final void setDefaultToWGS84Operation(GeocentricTransformation toWGS84)
toWGS84 Geocentric transformation
toWGS84 is an operation to transform geocentric coordinates based on this datum to geocentric coordinates based on WGS84 datum, generally a translation or a SevenParameterTransformation (ex. Bursa-Wolf).
toWGS84 does not use PrimeMerdian nor ellipsoid parameters.
datumTransformations map (direct Geographic3D transformations)
The toWGS84 transformation is also stored in the datumTransformations map, inherited from AbstractDatum, but this time, the operation is not stored as Geocentric to Geocentric transformation but as a Geographic3D to Geographic3D transformation.
The convention for this transformation is to start from Geographic3D coordinates in radians, to include required longitude rotation, and ellipsoid transformations, and to return GeographicCoordinates in radian. Advantage is that it makes it possible to use algorithm which do not involve Geographic to Geocentric transformation like the use of NTv2 grids.
toWGS84 - geocentric transformation from this to geocentric WGS 84public Set<GeodeticDatum> getTargetDatum()
public void addGeocentricTransformation(GeodeticDatum targetDatum, GeocentricTransformation coordOp)
targetDatum - the target datum of the transformation to addcoordOp - the transformation linking this Datum and the target
datumpublic void addGeographicTransformation(GeodeticDatum targetDatum, CoordinateOperation coordOp)
targetDatum - the target geodetic datum of the transformation to addcoordOp - the geographic to geographic coordinate transformation linking this Datum
and the target datumpublic Set<GeocentricTransformation> getGeocentricTransformations(GeodeticDatum targetDatum)
targetDatum - the datum that must be a target for returned transformationpublic Set<CoordinateOperation> getGeographicTransformations(GeodeticDatum targetDatum)
Get available geographic transformations to another datum.
The method first call getGeocentricTransformations which will try to build geocentric transformations from this datum to target datum using WGS84 pivot if no direct transformation is available. Building a new geocentric transformation to target datum will automatically build the corresponding geographic transformation and put it in the geographicTransformations map
targetDatum - the datum that must be a target for returned transformationpublic Set<CoordinateOperation> getHeightTransformations(Datum datum)
datum - the datum that must be a target for returned transformationpublic GeocentricTransformation getToWGS84()
public static GeodeticDatum getGeodeticDatum(Object id)
public String toWKT()
public String toString()
toString in class AbstractDatumpublic boolean equals(Object o)
this.
o equals this if they refer to the same memory object or if they have
the same identifier.equals in class IdentifiableComponento - The object to compare this GeodeticDatum againstpublic int hashCode()
hashCode in class IdentifiableComponentpublic void removeAllTransformations()
Copyright © 2019 CNRS. All rights reserved.