<?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 Why only one feature returned in REST query (expected 80) in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/why-only-one-feature-returned-in-rest-query/m-p/1513006#M4805</link>
    <description>&lt;P&gt;I'm querying the NWM streamflow forecast layer from the Living Atlas. It has 80 time steps, so each feature (e.g., station_id=1620851) should be present 80 times. However, only one feature is returned from the query below. How do I get all 80 features?&lt;/P&gt;&lt;P&gt;&lt;A href="https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;resultRecordCount=80&amp;amp;f=pjson" target="_blank" rel="noopener"&gt;https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;resultRecordCount=80&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 15:48:16 GMT</pubDate>
    <dc:creator>TimWhiteaker</dc:creator>
    <dc:date>2024-07-31T15:48:16Z</dc:date>
    <item>
      <title>Why only one feature returned in REST query (expected 80)</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/why-only-one-feature-returned-in-rest-query/m-p/1513006#M4805</link>
      <description>&lt;P&gt;I'm querying the NWM streamflow forecast layer from the Living Atlas. It has 80 time steps, so each feature (e.g., station_id=1620851) should be present 80 times. However, only one feature is returned from the query below. How do I get all 80 features?&lt;/P&gt;&lt;P&gt;&lt;A href="https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;resultRecordCount=80&amp;amp;f=pjson" target="_blank" rel="noopener"&gt;https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;resultRecordCount=80&amp;amp;f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 15:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/why-only-one-feature-returned-in-rest-query/m-p/1513006#M4805</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2024-07-31T15:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why only one feature returned in REST query (expected 80)</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/why-only-one-feature-returned-in-rest-query/m-p/1535580#M4838</link>
      <description>&lt;P&gt;It works if I include time=: and timeRelation=esriTimeRelationOverlaps. The colon is a delimiter. I could enter 0:1111111111111111111111111 for time zero and some time waaaaay in the future, to make sure I get all values in the dataset, but I found the delimiter by itself was enough to make the query work.&amp;nbsp; Note that in an update to the server in the coming months, the colon delimiter should be replaced with a comma delimiter.&lt;/P&gt;&lt;P&gt;&lt;A href="https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;time=:&amp;amp;timeRelation=esriTimeRelationOverlaps&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;returnTrueCurves=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;returnDistinctValues=false&amp;amp;resultRecordCount=80&amp;amp;f=html" target="_blank" rel="noopener"&gt;https://livefeeds2.arcgis.com/arcgis/rest/services/NFIE/NationalWaterModel_Medium/MapServer/0/query?where=egdb.dbo.LargeScale_v2.station_id=1620851&amp;amp;time=:&amp;amp;timeRelation=esriTimeRelationOverlaps&amp;amp;outFields=*&amp;amp;returnGeometry=false&amp;amp;returnTrueCurves=false&amp;amp;orderByFields=egdb.dbo.medium_term_current.timevalue&amp;amp;returnDistinctValues=false&amp;amp;resultRecordCount=80&amp;amp;f=html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gonzalo Espinoza at Esri deserves credit for providing me with this solution.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 16:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/why-only-one-feature-returned-in-rest-query/m-p/1535580#M4838</guid>
      <dc:creator>TimWhiteaker</dc:creator>
      <dc:date>2024-09-05T16:59:44Z</dc:date>
    </item>
  </channel>
</rss>

