<?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 when creating some WGS 1984 UTM spatial references in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055565#M61072</link>
    <description>&lt;P&gt;Yes. I found the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1620369883522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12807iB92E7F7E1206C764/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1620369883522.png" alt="JayantaPoddar_0-1620369883522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cause lies with the list of names of coordinate systems for ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_1-1620370066758.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12808iAA769E8DDDC8197A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_1-1620370066758.png" alt="JayantaPoddar_1-1620370066758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Same with ArcMap as well.&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 06:57:54 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2021-05-07T06:57:54Z</dc:date>
    <item>
      <title>Error when creating some WGS 1984 UTM spatial references</title>
      <link>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055558#M61070</link>
      <description>&lt;P&gt;Arcpy in ArcGIS Pro 2.7.3 is giving errors when trying to create a spatial reference. It is happening with single digit WGS 1984 UTM Zones. Code to replicate below:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sr = arcpy.SpatialReference("WGS 1984 UTM Zone 10N")
print(sr.name)
WGS_1984_UTM_Zone_10N

sr = arcpy.SpatialReference("WGS 1984 UTM Zone 6S")
Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\arcobjects\mixins.py", line 942, in __init__
    self._arc_object.createFromFile(item, vcs)
RuntimeError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.&lt;/LI-CODE&gt;&lt;P&gt;Found while investigating this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/create-model-that-calculates-spatial-reference-from-a-layer/m-p/1055541#M40678" target="_blank" rel="noopener"&gt;Create model that calculates spatial reference from a layer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 05:53:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055558#M61070</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-05-07T05:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating some WGS 1984 UTM spatial references</title>
      <link>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055560#M61071</link>
      <description>&lt;P&gt;You might try two spaces between Zone and 6S.&amp;nbsp; I ran into a similar problem with Desktop, and the extra space was the fix. I think the extra space is used for aligning single and double digits.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;gt;&amp;gt;&amp;gt; sr = arcpy.SpatialReference("WGS 1984 UTM Zone 10N")
&amp;gt;&amp;gt;&amp;gt; print sr.name
WGS_1984_UTM_Zone_10N
&amp;gt;&amp;gt;&amp;gt; sr = arcpy.SpatialReference("WGS 1984 UTM Zone 6S") # single space
Runtime error 
Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "c:\program files (x86)\arcgis\desktop10.5\arcpy\arcpy\arcobjects\mixins.py", line 992, in __init__
    self._arc_object.createFromFile(item, vcs)
RuntimeError: ERROR 999999: Error executing function.
&amp;gt;&amp;gt;&amp;gt; sr = arcpy.SpatialReference("WGS 1984 UTM Zone  6S") # double space
&amp;gt;&amp;gt;&amp;gt; print sr.name
WGS_1984_UTM_Zone_6S&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 06:30:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055560#M61071</guid>
      <dc:creator>RandyBurton</dc:creator>
      <dc:date>2021-05-07T06:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when creating some WGS 1984 UTM spatial references</title>
      <link>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055565#M61072</link>
      <description>&lt;P&gt;Yes. I found the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_0-1620369883522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12807iB92E7F7E1206C764/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_0-1620369883522.png" alt="JayantaPoddar_0-1620369883522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The cause lies with the list of names of coordinate systems for ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JayantaPoddar_1-1620370066758.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12808iAA769E8DDDC8197A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JayantaPoddar_1-1620370066758.png" alt="JayantaPoddar_1-1620370066758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Same with ArcMap as well.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 06:57:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-when-creating-some-wgs-1984-utm-spatial/m-p/1055565#M61072</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-05-07T06:57:54Z</dc:date>
    </item>
  </channel>
</rss>

