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
Properties
isInverse | Boolean | Indicates whether the geographic transformation is inverted. |
wkid | Number | The well-known id (wkid) that represents a known geographic transformation. |
wkt | String | The well-known text (wkt) hat represents a known geographic transformation.
See Geographic datum transformations for the list of supported equation-based geographic transformations. |
Methods
Constructor Details
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
Indicates whether the geographic transformation is inverted.
The well-known id (wkid) that represents a known geographic transformation.
See
Geographic datum transformations for the list of supported equation-based geographic transformations.
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
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)
.