GeographicDatum Class
Contents
[
Hide
]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
| Name | Description |
|---|---|
| GeographicDatum(name, ellipsoid, to_wgs_84_parameters, identifier) | Creates new instance. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| ellipsoid | Ellipsoid | r | Ellipsoid, used in this datum to approximate Earth. |
| epsg_code | int | r | If this objects identifier is EPSG identifier - return its code. Otherwise - return -1. |
| etrs89 [static] | GeographicDatum | r | ETRS 89 datum. |
| identifier | Identifier | r | Identifier of this identifiable object. |
| nad83 [static] | GeographicDatum | r | NAD 83 datum. |
| name | string | r | Name of this object. |
| osgb36 [static] | GeographicDatum | r | OSGB 1936 datum. |
| to_wgs_84_parameters | BursaWolfParameters | r | BursaWolfParamters that can be used to transform coordinates in this datum to coordinates in WGS84 datum. |
| wgs72 [static] | GeographicDatum | r | WGS 72 datum. |
| wgs84 [static] | GeographicDatum | r | WGS 84 datum. |
Methods
| Name | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| name | string | Name of this datum. |
| ellipsoid | Ellipsoid | Ellipsoid of this datum. Can’t be null. |
| to_wgs_84_parameters | BursaWolfParameters | Parameters, 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. |
| identifier | Identifier | Identifier 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:
| Parameter | Type | Description |
|---|---|---|
| datum1 | GeographicDatum | First datum. |
| datum2 | GeographicDatum | Second datum. |
Returns
| Type | Description |
|---|---|
| bool | bool 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:
| Parameter | Type | Description |
|---|---|---|
| other | GeographicDatum | Other datum. |
Returns
| Type | Description |
|---|---|
| bool | bool value, indicating whether two datums are equivalent. |