Click or drag to resize

TransformationCatalog Class

Allows discovery and management of the transformations used to convert coordinates between different datums.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.GeometryTransformationCatalog

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public static class TransformationCatalog

The TransformationCatalog type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCode exampleProjectionEngineDirectory
Gets or sets the directory of the Projection Engine files on the local file system.
Top
Methods
  NameDescription
Public methodStatic memberCode exampleGetTransformation(SpatialReference, SpatialReference)
Gets the default transformation used to transform between the input and output spatial references, without taking into account the area of interest.
Public methodStatic memberGetTransformation(SpatialReference, SpatialReference, Envelope)
Gets the default transformation used to transform between the input and output spatial references and takes into account the area of interest, if specified.
Public methodStatic memberGetTransformation(SpatialReference, SpatialReference, Envelope, Boolean)
Returns the default 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.
Public methodStatic memberCode exampleGetTransformationsBySuitability(SpatialReference, SpatialReference)
Gets a list representing the datum transformations suitable for projecting between spatial references without taking into account the area of interest.
Public methodStatic memberCode exampleGetTransformationsBySuitability(SpatialReference, SpatialReference, Envelope)
Gets a list representing the datum transformations suitable for projecting between spatial references and takes into account the area of interest.
Public methodStatic memberGetTransformationsBySuitability(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.
Top
Remarks

The transformation catalog class provides a mechanism for discovering available DatumTransformation objects. You can retrieve the default transformation used internally by Runtime 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 before using any geometry classes.

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).

See Also