GeographicTransformation

AMD: require(["esri/geometry/support/GeographicTransformation"], (GeographicTransformation) => { /* code goes here */ });
ESM: import GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation.js";
Class: esri/geometry/support/GeographicTransformation
Since: ArcGIS Maps SDK for JavaScript 4.7

Projecting your data between coordinate systems sometimes requires transforming between geographic coordinate systems. Geographic transformations are used to transform coordinates between spatial references that have different geographic coordinate systems, and thus different datums. Using the most suitable transformation ensures the best possible accuracy when converting geometries from one spatial reference to another.

The projection module provides the getTransformation() and getTransformations() methods which return the default geographic transformation for the given projection or a list of suitable geographic transformations.

Known Limitations

Currently, the client-side projection engine only supports equation-based geographic transformations.

See also

Constructors

GeographicTransformation

Constructor
new GeographicTransformation(properties)
Parameter
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Name Type Summary Class

Geographic transformation steps.

GeographicTransformation

Property Details

steps

Property
steps GeographicTransformationStep[]

Geographic transformation steps. Each step represents a geographic transformation that will be used in the process of transforming coordinates from one geographic coordinate system to another.

Method Overview

Name Return Type Summary Class

Returns the inverse of the geographic transformation calling this method or null if the transformation is not invertible.

GeographicTransformation

Method Details

getInverse

Method
getInverse(){GeographicTransformation}

Returns the inverse of the geographic transformation calling this method or null if the transformation is not invertible. The inverse of a transformation converts coordinates using the same method and parameters, but in the opposite direction of the original object. For example if the original object represents the NAD_1983_HARN_To_NAD_1983_NSRS2007_1 transformation, then the inverse will transform from NAD 83 (NSRS 2007) to NAD 83 (HARN).

Returns
Type Description
GeographicTransformation Returns the inverse of the datum transformation or null if the transformation is not invertible.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.