IGeometry5.ProjectEX5 - How do I determine the esriTransformDirection?

591
1
12-10-2011 02:45 PM
DennisGeasan
Occasional Contributor II
I'm working with the IGeometry5.ProjectEX5 method which requires a transformation direction.  This can be either forward for reverse.  I'm assuming this parameter is an indication of how the transformation is to be calculated.  For example, NAD27 to WGS84 (forward??) or WGS84 to NAD27 (reverse???).  I can't find any docs that indicate how this is defined.  I have tried using IspatialReference3.PropjectionHint but the referenced paramamter esriTransformDirection never changes value.  Is there another way to determine the transformation direction?

Dennis Geasan
GIS Technologies
0 Kudos
1 Reply
DennisGeasan
Occasional Contributor II
I think I've found the answer.   IGeoTransformation.GetSpatialReferences.  Duh!!

Thanks to the post at http://gis.stackexchange.com/questions/14113/how-to-use-arcobjects-to-choose-geotransformation .

DG
0 Kudos