<?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 Re: Error 000365 on Custom Geographic Transformation in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100807#M7848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/MKennedy-esristaff"&gt;MKennedy-esristaff&lt;/A&gt;‌ could you have a look at this please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 20:26:27 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-03-21T20:26:27Z</dc:date>
    <item>
      <title>Error 000365 on Custom Geographic Transformation</title>
      <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100806#M7847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a script to project the contents of a geodatabase from&amp;nbsp;NAD 1983 UTM Zone 17N to NAD 1983 &lt;STRONG&gt;CSRS&lt;/STRONG&gt; UTM Zone 17N and apply an already created custom geographic transformation (using the ntv2 grid shift file for Ontario -&amp;nbsp;ON83CSv1.gsb). The transformation fails with:&lt;/P&gt;&lt;P&gt;"ERROR 000365: Invalid geographic transformation".&lt;/P&gt;&lt;P&gt;I have tried the transformation name and also the full path to the gtf file. I have even tried creating a transformation file in python, but all fail with this error. Applying the transformation in ArcMap, using the Project tool manually or in Model Builder, works fine. I see several threads on this error but none have lead me to a solution. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808080;"&gt;#Set var for output coordinate systems
&lt;/SPAN&gt;out_coords = arcpy.SpatialReference(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;r"H:\ArcTesting\CSRS\NAD 1983 CSRS UTM Zone 17N.prj"&lt;/SPAN&gt;)

&lt;SPAN style="color: #808080;"&gt;#Set var for custom geographic transformation
#customGT = r"C:\Users\pm506\AppData\Roaming\ESRI\Desktop10.5\ArcToolbox\CustomTransformations\NAD83_to_NAD83CSRS.gtf"
&lt;/SPAN&gt;customGT = &lt;SPAN style="color: #008080; font-weight: bold;"&gt;"NAD83_to_NAD83CSRS"
&lt;/SPAN&gt;...
arcpy.Project_management(fc, fc_temp_name, out_coords, customGT)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100806#M7847</guid>
      <dc:creator>PiperMcKinnon1</dc:creator>
      <dc:date>2021-12-11T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000365 on Custom Geographic Transformation</title>
      <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100807#M7848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/MKennedy-esristaff"&gt;MKennedy-esristaff&lt;/A&gt;‌ could you have a look at this please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100807#M7848</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-03-21T20:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000365 on Custom Geographic Transformation</title>
      <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100808#M7849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. My bad.&amp;nbsp;I just tried executing&amp;nbsp;the script from ArcMap and it worked so I knew I was missing something file based. Turns out&amp;nbsp;I had my project interpreter pointing to the ArcGIS Pro python 3 directory, but I had not yet set up the transformation files in Pro. So I was asking it to apply a transformation that didn't exist&amp;nbsp;as far as the Pro python env was concerned. I copied my gsb and gtf files to the corresponding locations in Pro directories and it works. I'm still&amp;nbsp;interested in why a complete file path did not work but there you go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100808#M7849</guid>
      <dc:creator>PiperMcKinnon1</dc:creator>
      <dc:date>2018-03-21T20:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000365 on Custom Geographic Transformation</title>
      <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100809#M7850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The software is not designed to handle a full path. It's designed to look for a set of data, structured in a certain way. Some methods are even designed to look for certain folders (NTv2, NADCON, HARN, the file-based vertical methods). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Melita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100809#M7850</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2018-03-22T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error 000365 on Custom Geographic Transformation</title>
      <link>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100810#M7851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Melita, thanks for that explanation. I had followed some threads that hinted at trying full paths, but they were generally related to projectections rather than transformations, and looking at the structure, I do see why it didn't work in my case. Much appreciated!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-000365-on-custom-geographic-transformation/m-p/100810#M7851</guid>
      <dc:creator>PiperMcKinnon1</dc:creator>
      <dc:date>2018-03-22T12:43:54Z</dc:date>
    </item>
  </channel>
</rss>

