<?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: Featurelayer ClearSelection in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196456#M2291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that I see the same performance issues with the ClearSelection method which is horrendously slow still at 100.4 API.&amp;nbsp; I've resorted to the same work around you have which is to keep track of my selected features myself and use the Flayer.UnselectFeatures(features);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2018 00:11:32 GMT</pubDate>
    <dc:creator>KrisFoster1</dc:creator>
    <dc:date>2018-12-19T00:11:32Z</dc:date>
    <item>
      <title>Featurelayer ClearSelection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196454#M2289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded the ArcGIS Runtime SDK for .NET 100.3 and I am noticing that the FeatureLayer.ClearSelection() method is very slow. I have a polygon feature class that represents a grid with 16x16m grid squares. The feature class contains 650,000 polygons. It takes about 6 seconds to run the ClearSelection method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this sounds like a large number of features to search but I don't remember having slow performance with ClearSelection in the&amp;nbsp;100.2.1 version of the SDK. Have there been any changes to the ClearSelection() method at 100.3? And can you recommend any way that I might speed up searching for selected polygons within a layer that has this many features in it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196454#M2289</guid>
      <dc:creator>deleted-user-Qwv0Lt2wZ0Zu</dc:creator>
      <dc:date>2018-07-30T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Featurelayer ClearSelection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196455#M2290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone is interested...I solved my problem by keeping track of the last selected feature instead of using the ClearSelection() method on the feature layer. There is the ability to perform an 'Unselect' on a specific feature to&amp;nbsp;avoid searching the entire feature layer. The search&amp;nbsp;for selected features was the source of the slow performance in my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this....&lt;/P&gt;&lt;P&gt;FLayer.ClearSelection();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This...&lt;/P&gt;&lt;P&gt;Flayer.UnselectFeature(feature);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 14:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196455#M2290</guid>
      <dc:creator>deleted-user-Qwv0Lt2wZ0Zu</dc:creator>
      <dc:date>2018-07-31T14:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Featurelayer ClearSelection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196456#M2291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that I see the same performance issues with the ClearSelection method which is horrendously slow still at 100.4 API.&amp;nbsp; I've resorted to the same work around you have which is to keep track of my selected features myself and use the Flayer.UnselectFeatures(features);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 00:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196456#M2291</guid>
      <dc:creator>KrisFoster1</dc:creator>
      <dc:date>2018-12-19T00:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Featurelayer ClearSelection</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196457#M2292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eight months later I saw your post &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;. Not sure how I missed it.&amp;nbsp;Glad this was a successful approach for you.&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 14:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-clearselection/m-p/196457#M2292</guid>
      <dc:creator>MonikaLucas</dc:creator>
      <dc:date>2019-08-05T14:00:57Z</dc:date>
    </item>
  </channel>
</rss>

