LynneB

How to get the geographic transformation programatically

Discussion created by LynneB on Jan 10, 2014
Latest reply on Jan 13, 2014 by josepharmbruster0lat
I need to project a dataset to a different spatial reference.  The input and output spatial references have different datums so I need a geographic transformation. 

If I use the out of the box GP tool it gives me a list and a default.  You can also look at the ArcMap data frame properties and see the default.  At 10.1 the transformations presented in the drop-down list on the data frame properties are sorted by suitability for the layer's extent.

I have also found a python method do to this called ListTransformations.  The problem with this is that I'm using C# so it I cannot call a python method directly (at least not that I know of).

Does anybody know the best way to get the ESRI recommended default transformation using C#?

Outcomes