<?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 ArcGIS Python Reclassify Coding Problem-Stop Iteration in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-reclassify-coding-problem-stop/m-p/1699805#M103019</link>
    <description>&lt;P&gt;Good morning, All&lt;/P&gt;&lt;P&gt;I have an assignment. We will classify watersheds based on the area to perimeter ratio in the huc4.shp shapefile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Contents, right-click the huc4 layer and click Attribute Table. Review the fields of watersheds. Notice that there is a field called SHAPE_Area and a field called SHAPE_Leng.&lt;/P&gt;&lt;P&gt;Task: Write a script in Python that will determine the Class of each polygon by calculating the area to length ratio and grouping into a Class accordingly to the table below. In ArcMap, create a map assigning symbology to the Class as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;&lt;STRONG&gt;Area/length Ratio &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;&lt;STRONG&gt;Class&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;&lt;STRONG&gt;Symbology &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;Ratio &amp;gt; 40,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Low&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Green&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;20,000 &amp;lt; Ratio &amp;lt;= 40,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Medium&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Brown&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;15,000 &amp;lt; Ratio &amp;lt;= to 20,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;High&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Orange&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;Ratio &amp;lt;= 15,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Very High&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Red&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;********************************&lt;/P&gt;&lt;P&gt;I wrote a python script. However, it occurs an error ' Stop Iteration'. How to fix it?&lt;/P&gt;&lt;P&gt;Appreciate the solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2026 12:53:47 GMT</pubDate>
    <dc:creator>Leeyak88</dc:creator>
    <dc:date>2026-05-04T12:53:47Z</dc:date>
    <item>
      <title>ArcGIS Python Reclassify Coding Problem-Stop Iteration</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-reclassify-coding-problem-stop/m-p/1699805#M103019</link>
      <description>&lt;P&gt;Good morning, All&lt;/P&gt;&lt;P&gt;I have an assignment. We will classify watersheds based on the area to perimeter ratio in the huc4.shp shapefile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the Contents, right-click the huc4 layer and click Attribute Table. Review the fields of watersheds. Notice that there is a field called SHAPE_Area and a field called SHAPE_Leng.&lt;/P&gt;&lt;P&gt;Task: Write a script in Python that will determine the Class of each polygon by calculating the area to length ratio and grouping into a Class accordingly to the table below. In ArcMap, create a map assigning symbology to the Class as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;&lt;STRONG&gt;Area/length Ratio &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;&lt;STRONG&gt;Class&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;&lt;STRONG&gt;Symbology &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;Ratio &amp;gt; 40,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Low&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Green&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;20,000 &amp;lt; Ratio &amp;lt;= 40,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Medium&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Brown&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;15,000 &amp;lt; Ratio &amp;lt;= to 20,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;High&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Orange&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="221"&gt;&lt;P&gt;Ratio &amp;lt;= 15,000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Very High&lt;/P&gt;&lt;/TD&gt;&lt;TD width="161"&gt;&lt;P&gt;Red&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;********************************&lt;/P&gt;&lt;P&gt;I wrote a python script. However, it occurs an error ' Stop Iteration'. How to fix it?&lt;/P&gt;&lt;P&gt;Appreciate the solutions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 12:53:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-reclassify-coding-problem-stop/m-p/1699805#M103019</guid>
      <dc:creator>Leeyak88</dc:creator>
      <dc:date>2026-05-04T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python Reclassify Coding Problem-Stop Iteration</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-reclassify-coding-problem-stop/m-p/1699806#M103020</link>
      <description>&lt;P&gt;your last 3 lines need to be indented 4 spaces so that they are within the cursor loop&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 13:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-reclassify-coding-problem-stop/m-p/1699806#M103020</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2026-05-04T13:17:43Z</dc:date>
    </item>
  </channel>
</rss>

