<?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 API for Python; arcgis.features.FeatureLayer().query() troubleshooting in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-arcgis-features-featurelayer/m-p/1573084#M11005</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having an issue with the FeatureLayer query where not all results are returned.&amp;nbsp; For example the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;…
flayer.query(where=my_where, as_df=True, return_all_records=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns a dataframe with 2503 records.&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;…
flayer.query(where=my_where, return_count_only=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns integer 3503.&lt;/P&gt;&lt;P&gt;So, I’m missing 1000 known records.&amp;nbsp; My sense is the rest API is limiting returns someway, but it seems like the return_all_records=True parameter would overcome that limit with recall.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(docs for return_all_records)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1736261520470.png" style="width: 563px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122844iB738BB1C2B00A578/image-dimensions/563x76?v=v2" width="563" height="76" role="button" title="TylerT_0-1736261520470.png" alt="TylerT_0-1736261520470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I can retrieve all records that satisfy my where clause would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;ArcGIS Pro 3.3&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 14:52:44 GMT</pubDate>
    <dc:creator>TylerT</dc:creator>
    <dc:date>2025-01-07T14:52:44Z</dc:date>
    <item>
      <title>ArcGIS API for Python; arcgis.features.FeatureLayer().query() troubleshooting</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-arcgis-features-featurelayer/m-p/1573084#M11005</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having an issue with the FeatureLayer query where not all results are returned.&amp;nbsp; For example the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;…
flayer.query(where=my_where, as_df=True, return_all_records=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns a dataframe with 2503 records.&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;…
flayer.query(where=my_where, return_count_only=True)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returns integer 3503.&lt;/P&gt;&lt;P&gt;So, I’m missing 1000 known records.&amp;nbsp; My sense is the rest API is limiting returns someway, but it seems like the return_all_records=True parameter would overcome that limit with recall.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(docs for return_all_records)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TylerT_0-1736261520470.png" style="width: 563px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/122844iB738BB1C2B00A578/image-dimensions/563x76?v=v2" width="563" height="76" role="button" title="TylerT_0-1736261520470.png" alt="TylerT_0-1736261520470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I can retrieve all records that satisfy my where clause would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;ArcGIS Pro 3.3&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 14:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/arcgis-api-for-python-arcgis-features-featurelayer/m-p/1573084#M11005</guid>
      <dc:creator>TylerT</dc:creator>
      <dc:date>2025-01-07T14:52:44Z</dc:date>
    </item>
  </channel>
</rss>

