Class TransformationCatalog
Allows discovery and management of the transformations used to convert coordinates between different datums.
Inheritance
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public static class TransformationCatalog
Remarks
The transformation catalog class provides a mechanism for discovering available DatumTransformation objects. You can retrieve the default transformation used internally to convert coordinates, and find other available transformations. An area of interest may be taken into account.
This class also allows you to set the location where Projection Engine data files needed for some transformations are found on local storage. The ProjectionEngineDirectory property must be set at process startup. Projection Engine data files are available in the downloads area of developers.arcgis.com (requires login).
The default transformation used when reprojecting geometries is the most suitable available transformation across the area covered by the input and output spatial references. You can sometimes get a more suitable transformation for work within a smaller area by specifying the extent of your specific work area, using GetTransformation(SpatialReference, SpatialReference, Envelope).
Properties
Name | Description |
---|---|
ProjectionEngineDirectory | Gets or sets the directory of the Projection Engine files on the local file system. |
Methods
Name | Description |
---|---|
GetTransformation(SpatialReference, SpatialReference) | Gets the best usable (default) transformation to transform between the input and output spatial references, without taking into account an area of interest. |
GetTransformation(SpatialReference, SpatialReference, Envelope) | Gets the best usable transformation to transform between the input and output spatial references and takes into account the area of interest, if specified. |
GetTransformation(SpatialReference, SpatialReference, Envelope, Boolean) | Returns the best usable transformation used to transform between the input and output spatial references, taking into account the area of interest, if specified. Optionally disregards any vertical transformations. |
GetTransformationsBySuitability(SpatialReference, SpatialReference) | Gets a list representing the datum transformations suitable for projecting between spatial references without taking into account the area of interest. |
GetTransformationsBySuitability(SpatialReference, SpatialReference, Envelope) | Gets a list representing the datum transformations suitable for projecting between spatial references and takes into account the area of interest. |
GetTransformationsBySuitability(SpatialReference, SpatialReference, Envelope, Boolean) | Returns a collection of transformations suitable for projecting between the input and output spatial references, taking into account the area of interest, if specified. Optionally checks for suitable vertical transformations. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |