|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.AbstractIdentifiedObject org.geotools.referencing.datum.AbstractDatum org.geotools.referencing.datum.DefaultGeodeticDatum
Defines the location and precise orientation in 3-dimensional space of a defined ellipsoid (or sphere) that approximates the shape of the earth. Used also for Cartesian coordinate system centered in this ellipsoid (or sphere).
Ellipsoid
,
PrimeMeridian
,
Serialized FormField Summary | |
static java.lang.String |
BURSA_WOLF_KEY
The "bursaWolf" property for
datum shifts. |
static DefaultGeodeticDatum |
WGS84
The default WGS 1984 datum. |
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from interface org.opengis.referencing.datum.Datum |
ANCHOR_POINT_KEY, REALIZATION_EPOCH_KEY, SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
DefaultGeodeticDatum(org.opengis.referencing.datum.GeodeticDatum datum)
Constructs a new datum with the same values than the specified one. |
|
DefaultGeodeticDatum(java.util.Map properties,
org.opengis.referencing.datum.Ellipsoid ellipsoid,
org.opengis.referencing.datum.PrimeMeridian primeMeridian)
Constructs a geodetic datum from a set of properties. |
|
DefaultGeodeticDatum(java.lang.String name,
org.opengis.referencing.datum.Ellipsoid ellipsoid,
org.opengis.referencing.datum.PrimeMeridian primeMeridian)
Constructs a geodetic datum from a name. |
Method Summary | |
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this datum with the specified object for equality. |
protected java.lang.String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
static org.opengis.referencing.operation.Matrix |
getAffineTransform(org.opengis.referencing.datum.GeodeticDatum source,
org.opengis.referencing.datum.GeodeticDatum target)
Returns a matrix that can be used to define a transformation to the specified datum. |
BursaWolfParameters |
getBursaWolfParameters(org.opengis.referencing.datum.GeodeticDatum target)
Returns Bursa Wolf parameters for a datum shift toward the specified target, or if none. |
org.opengis.referencing.datum.Ellipsoid |
getEllipsoid()
Returns the ellipsoid. |
org.opengis.referencing.datum.PrimeMeridian |
getPrimeMeridian()
Returns the prime meridian. |
int |
hashCode()
Returns a hash value for this geodetic datum. |
static boolean |
isWGS84(org.opengis.referencing.datum.Datum datum)
Returns if the specified object is equals (at least on computation purpose) to the WGS84 datum. |
Methods inherited from class org.geotools.referencing.datum.AbstractDatum |
getAnchorPoint, getRealizationEpoch, getScope, getValidArea |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.datum.Datum |
getAnchorPoint, getRealizationEpoch, getScope, getValidArea |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
public static final DefaultGeodeticDatum WGS84
public static final java.lang.String BURSA_WOLF_KEY
"bursaWolf"
property for
datum shifts.
Constructor Detail |
public DefaultGeodeticDatum(org.opengis.referencing.datum.GeodeticDatum datum)
public DefaultGeodeticDatum(java.lang.String name, org.opengis.referencing.datum.Ellipsoid ellipsoid, org.opengis.referencing.datum.PrimeMeridian primeMeridian)
name
- The datum name.ellipsoid
- The ellipsoid.primeMeridian
- The prime meridian.public DefaultGeodeticDatum(java.util.Map properties, org.opengis.referencing.datum.Ellipsoid ellipsoid, org.opengis.referencing.datum.PrimeMeridian primeMeridian)
Property name | Value type | Value given to |
---|---|---|
"bursaWolf" |
BursaWolfParameters or an array of those |
getBursaWolfParameters(org.opengis.referencing.datum.GeodeticDatum) |
properties
- Set of properties. Should contains at least "name"
.ellipsoid
- The ellipsoid.primeMeridian
- The prime meridian.Method Detail |
public org.opengis.referencing.datum.Ellipsoid getEllipsoid()
getEllipsoid
in interface org.opengis.referencing.datum.GeodeticDatum
public org.opengis.referencing.datum.PrimeMeridian getPrimeMeridian()
getPrimeMeridian
in interface org.opengis.referencing.datum.GeodeticDatum
public BursaWolfParameters getBursaWolfParameters(org.opengis.referencing.datum.GeodeticDatum target)
getAffineTransform(org.opengis.referencing.datum.GeodeticDatum, org.opengis.referencing.datum.GeodeticDatum)
instead.
public static org.opengis.referencing.operation.Matrix getAffineTransform(org.opengis.referencing.datum.GeodeticDatum source, org.opengis.referencing.datum.GeodeticDatum target)
source
- The source datum.target
- The target datum.
BursaWolfParameters.getAffineTransform()
public static boolean isWGS84(org.opengis.referencing.datum.Datum datum)
WGS84
datum. This method may conservatively
returns if the specified datum is uncertain (for example
because it come from an other implementation).
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
equals
in class AbstractDatum
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
public int hashCode()
equals
(AbstractIdentifiedObject, false)
.
hashCode
in class AbstractIdentifiedObject
protected java.lang.String formatWKT(Formatter formatter)
formatWKT
in class AbstractDatum
formatter
- The formatter to use.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |