IGeoTransformationOperationSet Interface

Provides access to members that control a set of geographic transformation operators (GT + direction).

Description

Use the GeotransformationOperationSet to project geometries having different geographic coordinate systems using the IGeometry::Project method. Use the IGeotransformationOperationSet methods to cache a set of Geotransformations in memory. This set is used by the software when projecting a geometry using the IGeometry::Project . If the geographic coordinate systems of the from/to spatial reference are different then the system looks in the GeoTranformationOperationSet to find a matching geotransformation. If no appropriate geotransformation is found, no geotransformation is applied.

When To Use

Useful when working with datasets that have multiple spatial references. Used in ArcCatalog to store any necessary transformations.

Members

Name Description
Read-only property Count The number of geographic transformations in the set.
Method Find Check a geographic transformation and a direction to see if it exists in the set.
Method Get Returns a default geographic transformation.
Method Next Retrieves the next geographic transformation in the set.
Method Remove Deletes a particular geographic transformation.
Method RemoveAll Deletes all transformations in the set.
Method RemoveByKey Deletes a particular geographic transformation by its from and to GCS.
Method Reset Reinitializes the transformation set iterator.
Method Set Sets a default geographic transformation.

IGeoTransformationOperationSet.Count Property

The number of geographic transformations in the set.

Public ReadOnly Property Count As Integer
public int Count {get;}

IGeoTransformationOperationSet.Find Method

Check a geographic transformation and a direction to see if it exists in the set.

Public Function Find ( _
    ByVal Direction As esriTransformDirection, _
    ByVal GT As IGeoTransformation _
) As Boolean
public bool Find (
    esriTransformDirection Direction,
    IGeoTransformation GT
);

IGeoTransformationOperationSet.Get Method

Returns a default geographic transformation.

Public Sub Get ( _
    ByVal pFromGCS As IGeographicCoordinateSystem, _
    ByVal pToGCS As IGeographicCoordinateSystem, _
    ByRef Direction As esriTransformDirection, _
    ByRef Transformation As IGeoTransformation _
)
public void Get (
    IGeographicCoordinateSystem pFromGCS,
    IGeographicCoordinateSystem pToGCS,
    ref esriTransformDirection Direction,
    ref IGeoTransformation Transformation
);

IGeoTransformationOperationSet.Next Method

Retrieves the next geographic transformation in the set.

Public Sub Next ( _
    ByRef Direction As esriTransformDirection, _
    ByRef GT As IGeoTransformation _
)
public void Next (
    ref esriTransformDirection Direction,
    ref IGeoTransformation GT
);

IGeoTransformationOperationSet.Remove Method

Deletes a particular geographic transformation.

Public Sub Remove ( _
    ByVal Direction As esriTransformDirection, _
    ByVal Transformation As IGeoTransformation _
)
public void Remove (
    esriTransformDirection Direction,
    IGeoTransformation Transformation
);

IGeoTransformationOperationSet.RemoveAll Method

Deletes all transformations in the set.

Public Sub RemoveAll ( _
)
public void RemoveAll (
);

IGeoTransformationOperationSet.RemoveByKey Method

Deletes a particular geographic transformation by its from and to GCS.

Public Sub RemoveByKey ( _
    ByVal pFromGCS As IGeographicCoordinateSystem, _
    ByVal pToGCS As IGeographicCoordinateSystem _
)
public void RemoveByKey (
    IGeographicCoordinateSystem pFromGCS,
    IGeographicCoordinateSystem pToGCS
);

IGeoTransformationOperationSet.Reset Method

Reinitializes the transformation set iterator.

Public Sub Reset ( _
)
public void Reset (
);

IGeoTransformationOperationSet.Set Method

Sets a default geographic transformation.

Public Sub Set ( _
    ByVal Direction As esriTransformDirection, _
    ByVal Transformation As IGeoTransformation _
)
public void Set (
    esriTransformDirection Direction,
    IGeoTransformation Transformation
);

Classes that implement IGeoTransformationOperationSet

Classes Description
GeoTransformationOperationSet Stores a set of geographic transformation operators (GT + direction).

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.