Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

There is geoTransformation named:

WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984

I know it exists because I can access it with Projection Tool in ArcToolbox. But for the life of me I cannot find it any of the geoTransformation constant lists (esriSRGeoTransformationType, esriSRGeoTransformation2Type, esriSRGeoTransformation3Type). How do I access the enum for this geotransformation with ArcObjects?

share|improve this question
    
Still not sure what the enum is, but its value is 108100. This code: ISpatialReferenceFactory2 spatialReferenceFactory2 = new SpatialReferenceEnvironmentClass(); IGeoTransformation geoTransformation = spatialReferenceFactory2.CreateGeoTransformation(108100) as IGeoTransformation; Console.Write(geoTransformation.Name); Will print: "WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984" ESRI appears to have omitted this enum from the ArcObjects Library Reference (Geometry). Very annoying. –  rgwozdz Sep 17 '11 at 5:09
1  
The code here could be adapted to find a geotransformation by name. –  Kirk Kuykendall Sep 19 '11 at 1:35

1 Answer 1

up vote 0 down vote accepted

As rgwozdz states, it's 108100. The enums have not been kept up-to-date. Up-to-date geographic/datum transformation lists are here. I'm actively working on publishing up-to-date documentation for all the various projection engine objects for ArcGIS 10.1.

Note: I work for Esri.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.