GeographicTransformation

Used to transform coordinates of geometries between spatial references that have two different geographic coordinate systems. Each geographic transformation has an input and an output spatial reference. The transformation operates on the horizontal (geographic) datums in each spatial reference.

The inverse of the geographic transformation, if any, used to transform in the opposite direction, may be accessed using a member function.

A geographic transformation can be constructed from a single geographic transformation step object, or from a list of geographic transformation steps objects that are chained together. Most transformations between spatial references that do not share the WGS 1984 datum use WGS 1984 as an intermediate datum. Thus, it is common to create a geographic transformation object with two geographic transformation steps: first to transform from the datum in the input spatial reference to WGS 1984, and then from WGS 1984 to the output spatial reference's datum. There are a limited number of transformations directly between two non-WGS84 datums, such as WKID 4461, which is NAD_1983_HARN_To_NAD_1983_NSRS2007_1. These do not need WGS 1984 as an intermediate datum.

In most cases, you do not need to construct your own GeographicTransformation. You can get a list of suitable transformations for a given input and output spatial reference using one of the functions on the transformation catalog class.

A geographic transformation object is immutable.

Since

200.1.0

Constructors

Link copied to clipboard

Create a multi-step transformation from one or more GeographicTransformationStep instances. Use this when the multi-step transformation is known in advance. The output of each step should match the input of the following step. Then, you can use the new multi-step transformation where you would use a single-step transformation.

constructor(step: GeographicTransformationStep)

Create a single step transformation.

Properties

Link copied to clipboard

The array of geographic transformation steps that define this geographic transformation.

Inherited properties

Link copied to clipboard

True if the dataset needed by the Projection Engine is missing from the local file system.

Link copied to clipboard

The name of the datum transformation. For multi-step transformations, the name contains the concatenated names of each step's transformation, separated by a plus sign '+'. If the transformation is inverted, the name starts with a tilde (~).

Inherited functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Returns the inverse of this datum transformation.

Link copied to clipboard
open override fun hashCode(): Int