<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creating a GeoTransformation from Name in ArcObjects and C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/creating-a-geotransformation-from-name-in/m-p/195533#M5099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to create a GeoTransformation from a name. Actually I am using an an ArcPy &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018v0000001p000000" rel="nofollow" target="_blank"&gt;ListTransformations &lt;/A&gt;function. This function returns the list of GeoTransformation names as strings. Now after I get the names of GeoTransformation I need to create &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000020z000000" rel="nofollow" target="_blank"&gt;IGeoTranformation&lt;/A&gt; object in ArcObjects. I can use &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m000003p1000000" rel="nofollow" target="_blank"&gt;ISpatialReferenceFactory.CreateGeoTransformation&lt;/A&gt; method to create a IGeoTransformation object but it requires &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002z000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformationType&lt;/A&gt;, &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002v000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformation2Type&lt;/A&gt;, &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002w000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformation3Type&lt;/A&gt; constants.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the question is that how can I create a GeoTransformation given that I have only the transformation Name as a string and not the enum that is required by ISpatialReferenceFactory.CreateGeoTransformation method.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Oct 2014 14:57:43 GMT</pubDate>
    <dc:creator>sidd</dc:creator>
    <dc:date>2014-10-11T14:57:43Z</dc:date>
    <item>
      <title>Creating a GeoTransformation from Name in ArcObjects and C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/creating-a-geotransformation-from-name-in/m-p/195533#M5099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to create a GeoTransformation from a name. Actually I am using an an ArcPy &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018v0000001p000000" rel="nofollow" target="_blank"&gt;ListTransformations &lt;/A&gt;function. This function returns the list of GeoTransformation names as strings. Now after I get the names of GeoTransformation I need to create &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000020z000000" rel="nofollow" target="_blank"&gt;IGeoTranformation&lt;/A&gt; object in ArcObjects. I can use &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m000003p1000000" rel="nofollow" target="_blank"&gt;ISpatialReferenceFactory.CreateGeoTransformation&lt;/A&gt; method to create a IGeoTransformation object but it requires &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002z000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformationType&lt;/A&gt;, &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002v000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformation2Type&lt;/A&gt;, &lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//002m0000002w000000" rel="nofollow" target="_blank"&gt;esriSRGeoTransformation3Type&lt;/A&gt; constants.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the question is that how can I create a GeoTransformation given that I have only the transformation Name as a string and not the enum that is required by ISpatialReferenceFactory.CreateGeoTransformation method.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Oct 2014 14:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/creating-a-geotransformation-from-name-in/m-p/195533#M5099</guid>
      <dc:creator>sidd</dc:creator>
      <dc:date>2014-10-11T14:57:43Z</dc:date>
    </item>
  </channel>
</rss>

