Show / Hide Table of Contents

Class DatumTransformation

Represents a function to convert between two coordinate systems.

Inheritance
Object
DatumTransformation
GeographicTransformation
HorizontalVerticalTransformation
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 null if the transformation is not invertible.

IsEqual(DatumTransformation)

Returns true if the two transformations are equal, false otherwise.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.2.1 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.2.1 - 100.15
iOS100.2.1 - 100.15
UWP100.2.1 - 200.0

Relevant samples

Project with specific transformation: Project a point from one coordinate system to another using a specific transformation step.
In This Article
Back to top Copyright © 2022 Esri.