Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Class: GeographicTransformationStep

require(["esri/geometry/GeographicTransformationStep"], function(GeographicTransformationStep) { /* code goes here */ });

Description

(Added at v3.24)
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).

Samples

Search for samples that use this class.

Constructors

NameSummary
new GeographicTransformationStep(params?)Creates a new GeographicTransformationStep object.

Properties

NameTypeSummary
isInverseBooleanIndicates whether the geographic transformation is inverted.
wkidNumberThe well-known id (wkid) that represents a known geographic transformation.
wktStringThe well-known text (wkt) hat represents a known geographic transformation. See Geographic datum transformations for the list of supported equation-based geographic transformations.

Methods

NameReturn typeSummary
getInverse()GeographicTransformationStepReturns the inverse of the geographic transformation calling this method or null if the transformation is not invertible.
Constructor Details

new GeographicTransformationStep(params?)

Creates a new GeographicTransformationStep object.
Parameters:
<Object> params Optional See the params table for additional information.
params properties:
<Number> wkid Optional The well-known id (wkid) that represents a known geographic transformation. See Geographic datum transformations for the list of supported equation-based geographic transformations.
<String> wkt Optional The well-known text (wkt) that represents a known geographic transformation. See Geographic datum transformations for the list of supported equation-based geographic transformations.
Sample:
require([
  "esri/geometry/projection",   
  "esri/geometry/GeographicTransformation"      
  "esri/geometry/GeographicTransformationStep", 
], function(projection, 
   GeographicTransformation, 
   GeographicTransformationStep) {
   var step = new GeographicTransformationStep({
     wkid: 54044
   });
   var datum = new GeographicTransformation({
     steps: [step]
   });
});
Property Details

<Boolean> isInverse

Indicates whether the geographic transformation is inverted.

<Number> wkid

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

<String> wkt

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

getInverse()

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).
Show Modal