DatumTransformation class final

Represents a function to convert between two coordinate systems.

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 DatumTransformation.isMissingProjectionEngineFiles indicates whether any of the files are missing. The complete list of necessary files is available using the GeographicTransformationStep.projectionEngineFilenames or HorizontalVerticalTransformationStep.projectionEngineFilenames properties.

In order for any Projection Engine files to be found, the data location must be set first using the TransformationCatalog.projectionEngineDirectory property.

A datum transformation object is immutable.

Implemented types
Implementers

Properties

hashCode int
The hash code for this object.
no setteroverride
inputSpatialReference SpatialReference?
The input SpatialReference.
no setter
isMissingProjectionEngineFiles bool
True if any files needed by the Projection Engine for this transformation step are missing from the local file system.
no setter
name String
The name of the datum transformation.
no setter
outputSpatialReference SpatialReference?
The output SpatialReference.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInverse() DatumTransformation
Returns the inverse of this datum transformation.
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.
override