TransformationCatalog class abstract final

Allows discovery and management of the transformations used to convert coordinates between different datums.

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 TransformationCatalog.projectionEngineDirectory property must be set at process startup. Projection Engine data files are available in the downloads area of developers.arcgis.com, under the relevant SDK, in the Projection Engine Data section. 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 TransformationCatalog.getTransformation.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

projectionEngineDirectory Uri?
The directory of the Projection Engine files on the local file system.
getter/setter pair

Static Methods

getTransformation({required SpatialReference inputSpatialReference, required SpatialReference outputSpatialReference, Envelope? areaOfInterest, bool ignoreVertical = false}) DatumTransformation?
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({required SpatialReference inputSpatialReference, required SpatialReference outputSpatialReference, Envelope? areaOfInterest, bool ignoreVertical = false}) List<DatumTransformation>
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.