GeographicTransformation

require(["esri/geometry/support/GeographicTransformation"], function(GeographicTransformation) { /* code goes here */ });
Class: esri/geometry/support/GeographicTransformation
Since: ArcGIS API 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

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

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummaryClass
GeographicTransformationStep[]

Geographic transformation steps.

more details
more detailsGeographicTransformation

Property Details

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

NameReturn TypeSummaryClass
GeographicTransformation

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

more details
more detailsGeographicTransformation

Method Details

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:
TypeDescription
GeographicTransformationReturns the inverse of the datum transformation or null if the transformation is not invertible.

API Reference search results

NameTypeModule
Loading...