Class DatumTransformation
Represents a function to convert between two coordinate systems.
Inheritance
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class DatumTransformation
Remarks
This is the base class for classes used to transform coordinates between spatial references that have different datums. The inverse of the datum transformation, used to transform in the opposite direction, may be accessed using a member function.
A datum transformation has a Name property intended to be suitable for display, such as when displaying a list of available transformations to an end user.
You can get a list of suitable transformations for a given input and output spatial reference using methods of the TransformationCatalog class. Some transformations require that certain Projection Engine data files be present on the local file system. The property IsMissingProjectionEngineFiles indicates whether any of the files are missing. The complete list of necessary files is available using the ProjectionEngineFilenames property.
In order for any Projection Engine files to be found, the data location must be set first using the ProjectionEngineDirectory property.
A datum transformation object is immutable.
Properties
Name | Description |
---|---|
InputSpatialReference | Gets the input SpatialReference. |
IsMissingProjectionEngineFiles | Gets a value indicating whether the supporting file for the transformation can be located in the location set in the ProjectionEngineDirectory property. |
Name | Gets the name of the datum transformation. |
OutputSpatialReference | Gets the output SpatialReference. |
Methods
Name | Description |
---|---|
GetInverse() | Returns the inverse of this datum transformation or |
IsEqual(DatumTransformation) | Returns true if the two transformations are equal, false otherwise. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |