<?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: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42761#M388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response. Yes, it was behaving the same all the way back to 100.2.1. I incrementally updated the SDK from 100.2.1 on Friday. I was guardedly optimistic that it would be resolved at 100.5.0, due to all the reworking of the queries, but no luck. I also wanted to mention that I verified the geometry I get from the tapped feature is a polyline, not an extent just before I assign it to the params.geometry; same with the params.geometry if I read it just before it is passed in the query. So, I'm pretty sure the issue is with the method itself, or the AGSSpatialRelationship enum. I can see the corresponding int values in iOS, but not Android.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2020 17:38:21 GMT</pubDate>
    <dc:creator>JakeShapley</dc:creator>
    <dc:date>2020-05-11T17:38:21Z</dc:date>
    <item>
      <title>Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42759#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate help on&amp;nbsp;Esri Case #02552078, escalating a hotfix for a bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) that is present in 100.8.0. I recently refactored our Android and iOS apps to support querying stacked geometry for features that intersect or overlap a user-selected (via tap) feature. It is working properly (and as intended according to the documentation) in Android. However, in iOS, the query method appears to be incorrectly using the extent of the geometry, rather than the geometry itself. For example, a query using the Deschutes River returns, among 100s of other results, Packwood Creek, which isn't even in the same drainage. But, it is within the extent of Deschutes River (see screenshots below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For clarification, I am using:&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;params.spatialRelationship = AGSSpatialRelationship.intersects&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;params.maxAllowableOffset = 0&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;I would appreciate a hotfix for this issue, plus any workaround in the meantime. I am happy to provide additional info. I cannot share the endpoints publicly, but they are attached to the case and I can provide them via DM or email.&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;Cheers,&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; text-indent: 0px; text-decoration: none;"&gt;Jake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Deschutes River selected in the app. Note, the location of the town of Yelm and other features for reference." class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491576_DeschutesRiverSelected.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Packwood Creek selected. It is in an entirely separate drainage than the Deschutes River." class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/491577_PackwoodCreekSelected.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="The spatial query results for Deschutes incorrectly include Packwood Creek and hundreds of others." class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/491578_DeschutesRiverSpatialQueryResults.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2020 01:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42759#M386</guid>
      <dc:creator>JakeShapley</dc:creator>
      <dc:date>2020-05-09T01:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42760#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake. I'll try to create a repro for this and will get back to you if I have trouble reproducing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did this happen in 100.7 too, do you know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 15:26:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42760#M387</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2020-05-11T15:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42761#M388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response. Yes, it was behaving the same all the way back to 100.2.1. I incrementally updated the SDK from 100.2.1 on Friday. I was guardedly optimistic that it would be resolved at 100.5.0, due to all the reworking of the queries, but no luck. I also wanted to mention that I verified the geometry I get from the tapped feature is a polyline, not an extent just before I assign it to the params.geometry; same with the params.geometry if I read it just before it is passed in the query. So, I'm pretty sure the issue is with the method itself, or the AGSSpatialRelationship enum. I can see the corresponding int values in iOS, but not Android.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 17:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42761#M388</guid>
      <dc:creator>JakeShapley</dc:creator>
      <dc:date>2020-05-11T17:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42762#M389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, here's a screenshot of what happens when I programmatically select the features returned from the database query (with Deschutes River still selected). Note, the river geometry does not actually intersect with any of these features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Selection of spatial query results, with Deschutes River still selected. Note, there is no intersection of the Deschutes and any of these features." class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491785_SelectResultForSpatialQuery.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 00:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42762#M389</guid>
      <dc:creator>JakeShapley</dc:creator>
      <dc:date>2020-05-12T00:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42763#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi Nick,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I rendered the ereg feature layer red temporarily to better visualize what may be happening. Interestingly, 682 features are returned by the query, all of them are within the extent. However, not all of the features within the extent are returned by the query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG alt="Ereg features rendered in red to help visualize the issue." class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/491902_File.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jake&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 15:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42763#M390</guid>
      <dc:creator>JakeShapley</dc:creator>
      <dc:date>2020-05-12T15:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42764#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jake. These are helpful. You might not be getting all the items returned if they exceed the maxResultCount on the service. I'll have time to look into this today.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 15:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42764#M391</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2020-05-12T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bug in queryFeaturesWithParameters:completion: (AGSFeatureTable) using extent, not geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42765#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/224485"&gt;Jake Shapley&lt;/A&gt;:&amp;nbsp;Just to confirm, this will be fixed in 100.9, due for release very shortly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing all the details and helping us identify the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 02:36:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/help-with-bug-in-queryfeatureswithparameters/m-p/42765#M392</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2020-08-19T02:36:54Z</dc:date>
    </item>
  </channel>
</rss>

