GeographicDatum Class

Summary: Geographic datum relates longitude and latitude to particular place on earth.

Module: aspose.gis.spatialreferencing

Full Name: aspose.gis.spatialreferencing.GeographicDatum

Inheritance: IdentifiableObject

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
GeographicDatum(name, ellipsoid, to_wgs_84_parameters, identifier)Creates new instance.

Properties

NameTypeAccessDescription
ellipsoidEllipsoidrEllipsoid, used in this datum to approximate Earth.
epsg_codeintrIf this objects identifier is EPSG identifier - return its code. Otherwise - return -1.
etrs89 [static]GeographicDatumrETRS 89 datum.
identifierIdentifierrIdentifier of this identifiable object.
nad83 [static]GeographicDatumrNAD 83 datum.
namestringrName of this object.
osgb36 [static]GeographicDatumrOSGB 1936 datum.
to_wgs_84_parametersBursaWolfParametersrBursaWolfParamters that can be used to transform coordinates in this datum to coordinates in WGS84 datum.
wgs72 [static]GeographicDatumrWGS 72 datum.
wgs84 [static]GeographicDatumrWGS 84 datum.

Methods

NameDescription
is_equivalent(datum1, datum2)Determines if two datums are equivalent.
Same coordinates of equivalent datums match same place on Earth.
Some parameters of equivalent datums can be different, for example IdentifiableObject.name.
is_equivalent(other)Determines if two datums are equivalent.
Same coordinates of equivalent datums match same place on Earth.
Some parameters of equivalent datums can be different, for example IdentifiableObject.name.

Constructor: GeographicDatum(name, ellipsoid, to_wgs_84_parameters, identifier)

 GeographicDatum(name, ellipsoid, to_wgs_84_parameters, identifier) 

Creates new instance.

Parameters:

ParameterTypeDescription
namestringName of this datum.
ellipsoidEllipsoidEllipsoid of this datum. Can’t be null.
to_wgs_84_parametersBursaWolfParametersParameters, that can be given to bursa wolf formula, to convert coordinates in this datum to coordinates in WGS84 datum.
If this datum is close to WGS84 and no transformation needed, pass bursa wolf parameters with all values set to 0.
If null, ToWgs84 will be set to BursaWolfParameters.is_null parameters.
identifierIdentifierIdentifier of this datum.

Method: is_equivalent(datum1, datum2) [static]

 is_equivalent(datum1, datum2) 

Determines if two datums are equivalent.
Same coordinates of equivalent datums match same place on Earth.
Some parameters of equivalent datums can be different, for example IdentifiableObject.name.

Parameters:

ParameterTypeDescription
datum1GeographicDatumFirst datum.
datum2GeographicDatumSecond datum.

Returns

TypeDescription
boolbool value, indicating whether two datums are equivalent.

Method: is_equivalent(other)

 is_equivalent(other) 

Determines if two datums are equivalent.
Same coordinates of equivalent datums match same place on Earth.
Some parameters of equivalent datums can be different, for example IdentifiableObject.name.

Parameters:

ParameterTypeDescription
otherGeographicDatumOther datum.

Returns

TypeDescription
boolbool value, indicating whether two datums are equivalent.