<?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 How to query a raster (ImageServer) with iOS SDK? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080374#M7024</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I cannot find in the iOS SDK the way to query a ImageServer (Raster) layer to find the images meeting some specific criteria (spatial + attribute filter). I am trying to find the Sentinel2 images at a location for a date range, which in the REST API can be done here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer/query" target="_blank"&gt;https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer/query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any tip?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 17:25:22 GMT</pubDate>
    <dc:creator>JuanPeralta_ESRIES</dc:creator>
    <dc:date>2021-07-19T17:25:22Z</dc:date>
    <item>
      <title>How to query a raster (ImageServer) with iOS SDK?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080374#M7024</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I cannot find in the iOS SDK the way to query a ImageServer (Raster) layer to find the images meeting some specific criteria (spatial + attribute filter). I am trying to find the Sentinel2 images at a location for a date range, which in the REST API can be done here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer/query" target="_blank"&gt;https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer/query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any tip?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080374#M7024</guid>
      <dc:creator>JuanPeralta_ESRIES</dc:creator>
      <dc:date>2021-07-19T17:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to query a raster (ImageServer) with iOS SDK?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080694#M7025</link>
      <description>&lt;P data-unlink="true"&gt;Unfortunately, we don't yet support querying ImageServices. It is something we'd like to add, but we haven't gotten around to. For now, you'll have to invoke the REST API directly to get the result you want. We provide helper classes that can help with that. See &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_j_s_o_n_request_operation.html" target="_self"&gt;AGSJSONRequestOperation&lt;/A&gt;&amp;nbsp;. It will handle all the networking and authentication for you. You simply need to initialize it with the parameters, register a listener with a completion block, add it to an &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_operation_queue.html" target="_self"&gt;AGSOperationQueue&lt;/A&gt;&amp;nbsp;. The completion block will be invoked with the result JSON.&lt;BR /&gt;&lt;BR /&gt;Can you tell us a bit more about what you're building and why you need the query functionality. That'll help us prioritize the work. Feel free to direct message me.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 05:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080694#M7025</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2021-07-20T05:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to query a raster (ImageServer) with iOS SDK?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080704#M7026</link>
      <description>&lt;P&gt;Thanks for the answer&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1212"&gt;@DiveshGoyal&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a mobile app (prototype for marketing purposes) for Precision Agriculture: monitoring crop evolution with Sentinel2 imagery, which is something quite common in the sector. At some selected points the app must query the Sentinel2 raster catalog to find all available rasters for a certain date range (acquisition date). Then, the app gets the pixel value from each available raster.&lt;/P&gt;&lt;P&gt;As I said, that is quite common, I can point out dozens of apps with that workflow implemented, or just look for "Precision Agriculture" or "AgTech" + iOS.&lt;/P&gt;&lt;P&gt;I will try with the REST API, but it would be nice to have it in the iOS SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 06:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1080704#M7026</guid>
      <dc:creator>JuanPeralta_ESRIES</dc:creator>
      <dc:date>2021-07-20T06:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to query a raster (ImageServer) with iOS SDK?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1087837#M7049</link>
      <description>&lt;P&gt;Coming back from my summer break... I tested your solution and it is working fine, so thanks again&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1212"&gt;@DiveshGoyal&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;By the way, for all of you looking for some tips about the implementation, I found an example with some Swift code to copy-paste:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/nixta/9db8be083b1823f1cbbe87db5cef6325" target="_blank"&gt;https://gist.github.com/nixta/9db8be083b1823f1cbbe87db5cef6325&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 10:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-query-a-raster-imageserver-with-ios-sdk/m-p/1087837#M7049</guid>
      <dc:creator>JuanPeralta_ESRIES</dc:creator>
      <dc:date>2021-08-11T10:21:50Z</dc:date>
    </item>
  </channel>
</rss>

