Skip To ContentArcGIS for DevelopersSign In Dashboard

GeographicTransformationStep

require(["esri/geometry/support/GeographicTransformationStep"], function(GeographicTransformationStep) { /* code goes here */ });
Class: esri/geometry/support/GeographicTransformationStep
Since: ArcGIS API for JavaScript 4.7

Represents a step in the process of transforming coordinates from one geographic coordinate system to another. A geographic transformation step can be constructed from a well-known ID (wkid) or a well known text (wkt) that represents a geographic datum transformation.

See also:

Constructors

new GeographicTransformationStep(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
Boolean

Indicates with the geographic transformation is inverted.

more details
more detailsGeographicTransformationStep
Number

The well-known id (wkid) hat represents a known geographic transformation.

more details
more detailsGeographicTransformationStep
String

The well-known text (wkt) that represents a known geographic transformation.

more details
more detailsGeographicTransformationStep

Property Details

isInverse Boolean

Indicates with the geographic transformation is inverted.

Default Value:false
wkid Number

The well-known id (wkid) hat represents a known geographic transformation. See Geographic datum transformations for the list of supported equation-based geographic transformations.

Example:
// Create a geographic transformation step for Tokyo_To_WGS_1984_2001 using its wkid
var geoStep = new GeographicTransformationStep({
  wkid: 108106
});
wkt String

The well-known text (wkt) that represents a known geographic transformation. See Geographic datum transformations for the list of supported equation-based geographic transformations.

Example:
// Create a geographic transformation step for NAD_1927_To_WGS_1984_1
// using its well known text or wkt
var wkt = "GEOGTRAN[\"NAD_1927_To_WGS_1984_1\",GEOGCS[\"GCS_North_American_1927\",DATUM[\"D_North_American_1927\",SPHEROID[\"Clarke_1866\",6378206.4,294.9786982]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],METHOD[\"Geocentric_Translation\"],PARAMETER[\"X_Axis_Translation\",-3.0],PARAMETER[\"Y_Axis_Translation\",142.0],PARAMETER[\"Z_Axis_Translation\",183.0]]";
var geoStep = new GeographicTransformationStep({
  wkid: wkt
});

Method Overview

NameReturn TypeSummaryClass
GeographicTransformationStep

Gets the inverse of the geographic transformation step used to call this method or null if the transformation step is not invertible.

more details
more detailsGeographicTransformationStep

Method Details

Gets the inverse of the geographic transformation step used to call this method or null if the transformation step 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
GeographicTransformationStepReturns the inverse of the geographic transformation step or null if the transformation is not invertible.

API Reference search results

NameTypeModule
Loading...