public class

ProjectionTransformation

extends Object
java.lang.Object
   ↳ com.esri.core.geometry.ProjectionTransformation

Class Overview

Class to indicate a projection transformation to transform a geometry from one spatial reference to another. This can be used with project(Geometry, ProjectionTransformation).

Summary

Public Methods
static ProjectionTransformation create(SpatialReference inSR, SpatialReference outSR, CompositeGeographicTransformation geoTrans)
Creates an instance of projection transformation.
static ProjectionTransformation fromJson(String json)
CompositeGeographicTransformation getGeoTransformation()
SpatialReference getInputSR()
SpatialReference getOutputSR()
String toJson()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ProjectionTransformation create (SpatialReference inSR, SpatialReference outSR, CompositeGeographicTransformation geoTrans)

Creates an instance of projection transformation.

Parameters
inSR SpatialReference: spatial reference to transform from
outSR SpatialReference: spatial reference to transform to
geoTrans CompositeGeographicTransformation: geographic transformations to be used for this projection.
Returns
ProjectionTransformation
Throws
IllegalArgumentException if any of the inputs is null.

public static ProjectionTransformation fromJson (String json)

Parameters
json String
Returns
ProjectionTransformation
Throws
Exception

public SpatialReference getInputSR ()

public SpatialReference getOutputSR ()

public String toJson ()

Returns
String