<?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: ServiceFeatureTable.QueryFeaturesAsync inconsistent results on iOS in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652539#M8166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some more testing, the issue the testing team found only affects the native iOS SDK, and does not affect Xamarin, so what you're hitting must be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share all the headers from the request and responses you see in Charles for both the succeeding and the subsequent failing/cached requests? Perhaps that can help clue us in on what's going wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2018 17:07:49 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2018-06-25T17:07:49Z</dc:date>
    <item>
      <title>ServiceFeatureTable.QueryFeaturesAsync inconsistent results on iOS</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652537#M8164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some trouble with&amp;nbsp;ServiceFeatureTable.QueryFeaturesAsync().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, it seems to produce very inconsistent results on iOS. Sometimes it returns features, but mostly it doesn't. I've tried on a few different services and layers and get the same behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code looks like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; var queryParams = new QueryParameters()&lt;BR /&gt; {&lt;BR /&gt; ReturnGeometry = true,&lt;BR /&gt; SpatialRelationship = SpatialRelationship.EnvelopeIntersects,&lt;/P&gt;&lt;P&gt;Geometry = // a polygon obtained from user in spatial ref wkid 3857 (web mercator)&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var features = await featureTable.QueryFeaturesAsync(queryParams, Esri.ArcGISRuntime.Data.QueryFeatureFields.Minimum, options.CancellationToken);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The service is also in 3857.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that no features are returned even though there clearly are features at the given location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I looked at the request using the Charles web proxy (similar to Fiddler, but works on a Mac), and ArcGIS Server is responding with http 304 (not modified). If I repeat the request with caching disabled in Charles, then ArcGIS Server does return results to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like a bug to me. Is this a known issue? Are there any workarounds or solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine on Android and Windows UWP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 23:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652537#M8164</guid>
      <dc:creator>JeffSiemens</dc:creator>
      <dc:date>2018-06-20T23:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable.QueryFeaturesAsync inconsistent results on iOS</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652538#M8165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our testing team just hit an almost identical issue and are looking into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652538#M8165</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-06-22T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable.QueryFeaturesAsync inconsistent results on iOS</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652539#M8166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some more testing, the issue the testing team found only affects the native iOS SDK, and does not affect Xamarin, so what you're hitting must be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share all the headers from the request and responses you see in Charles for both the succeeding and the subsequent failing/cached requests? Perhaps that can help clue us in on what's going wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652539#M8166</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-06-25T17:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: ServiceFeatureTable.QueryFeaturesAsync inconsistent results on iOS</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652540#M8167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the headers for the request that fails (returns http 304):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST /arcgis/rest/services/LA_StreetMap_DesignBase_Unsecured/MapServer/90/query HTTP/1.1&lt;BR /&gt;Host: mot-arcgis.latitudegeo.com:6080&lt;BR /&gt;Content-Type: application/x-www-form-urlencoded&lt;BR /&gt;Accept-Encoding: gzip, deflate&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;&lt;STRONG&gt;If-None-Match: 1402076183&lt;/STRONG&gt;&lt;BR /&gt;Connection: keep-alive&lt;BR /&gt;Accept: */*&lt;BR /&gt;User-Agent: ArcGISRuntime-NET/100.2.1 (iOS 11.4; iPad5,3)&lt;BR /&gt;&lt;SPAN&gt;Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgis.com%2F" rel="nofollow" target="_blank"&gt;http://arcgis.com/&lt;/A&gt;&lt;BR /&gt;Content-Length: 4989&lt;BR /&gt;Accept-Language: en-ca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here are the headers for a similar request in Windows that works (returns http 200):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST /arcgis/rest/services/LA_StreetMap_DesignBase_Unsecured/MapServer/90/query HTTP/1.1&lt;BR /&gt;&lt;SPAN&gt;Referer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgeocortexmobileviewerskg3azj8gvpd4%2F" rel="nofollow" target="_blank"&gt;http://geocortexmobileviewerskg3azj8gvpd4/&lt;/A&gt;&lt;BR /&gt;Accept-Encoding: gzip, deflate&lt;BR /&gt;User-Agent: ArcGISRuntime-NET/100.2.1 (Windows 10.0.16299; x86; UAP; Windows.Desktop)&lt;BR /&gt;Content-Length: 4982&lt;BR /&gt;Content-Type: application/x-www-form-urlencoded&lt;BR /&gt;Host: mot-arcgis.latitudegeo.com:6080&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;&lt;STRONG&gt;Pragma: no-cache&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like, I can also get you a Fiddler trace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 15:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/servicefeaturetable-queryfeaturesasync/m-p/652540#M8167</guid>
      <dc:creator>JeffSiemens</dc:creator>
      <dc:date>2018-07-04T15:50:28Z</dc:date>
    </item>
  </channel>
</rss>

