<?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: Specify the number of features returned in cursor in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/specify-the-number-of-features-returned-in-cursor/m-p/143938#M11168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found how to overcome this issue. For the people, who will face the same problem: I used arcpy&lt;STRONG&gt;.da.&lt;/STRONG&gt;SearchCursor instead of arcpy.SearchCursor and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 07:27:21 GMT</pubDate>
    <dc:creator>StasyGrayn</dc:creator>
    <dc:date>2015-05-26T07:27:21Z</dc:date>
    <item>
      <title>Specify the number of features returned in cursor</title>
      <link>https://community.esri.com/t5/python-questions/specify-the-number-of-features-returned-in-cursor/m-p/143937#M11167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a FeatureLayer with many features.&lt;/P&gt;&lt;P&gt;I want to process all features using Search Cursor, but it returns me only 300 records.&lt;/P&gt;&lt;P&gt;Can anyone suggest, where can this limitation can be changed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = "some_path_to_file.sde/my_layer"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cursor = arcpy.SearchCursor(path)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for row in cursor:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //process row&lt;/P&gt;&lt;P&gt;del cursor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stasy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 12:36:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specify-the-number-of-features-returned-in-cursor/m-p/143937#M11167</guid>
      <dc:creator>StasyGrayn</dc:creator>
      <dc:date>2015-05-22T12:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Specify the number of features returned in cursor</title>
      <link>https://community.esri.com/t5/python-questions/specify-the-number-of-features-returned-in-cursor/m-p/143938#M11168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found how to overcome this issue. For the people, who will face the same problem: I used arcpy&lt;STRONG&gt;.da.&lt;/STRONG&gt;SearchCursor instead of arcpy.SearchCursor and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 07:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specify-the-number-of-features-returned-in-cursor/m-p/143938#M11168</guid>
      <dc:creator>StasyGrayn</dc:creator>
      <dc:date>2015-05-26T07:27:21Z</dc:date>
    </item>
  </channel>
</rss>

