<?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 Issues with BasicFeatureLayer.Select() in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740799#M231</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;In our AddIn we are trying to use the BasicFeatureLayer.Select to select/highlight some features on the map. This works great in most cases , but apparently were are bumping into some limitation. We receive a ArcGIS.Core.Data.GeodatabaseException ("a geodatabase exception occured") with&amp;nbsp;HRESULT: 0x80050120 and StackTrace:&lt;/P&gt;&lt;P&gt;&lt;EM&gt; at ArcGIS.Core.Internal.ISelectionIOP.Selection_Combine(IntPtr selectionHandle, IntPtr otherSelectionHandle, SetOperation setOperation)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at ArcGIS.Core.Data.Selection.Combine(Selection otherSelection, SetOperation setOperation)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what is leading to this? Is it the number of features being selected (around 150 in this test).&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've also tried to make the select in blocks using the SelectionCombinationMethod.New and Add together. The issue remails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2018 09:54:06 GMT</pubDate>
    <dc:creator>BartVan_Hoecke</dc:creator>
    <dc:date>2018-06-13T09:54:06Z</dc:date>
    <item>
      <title>Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740799#M231</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;In our AddIn we are trying to use the BasicFeatureLayer.Select to select/highlight some features on the map. This works great in most cases , but apparently were are bumping into some limitation. We receive a ArcGIS.Core.Data.GeodatabaseException ("a geodatabase exception occured") with&amp;nbsp;HRESULT: 0x80050120 and StackTrace:&lt;/P&gt;&lt;P&gt;&lt;EM&gt; at ArcGIS.Core.Internal.ISelectionIOP.Selection_Combine(IntPtr selectionHandle, IntPtr otherSelectionHandle, SetOperation setOperation)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; at ArcGIS.Core.Data.Selection.Combine(Selection otherSelection, SetOperation setOperation)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what is leading to this? Is it the number of features being selected (around 150 in this test).&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've also tried to make the select in blocks using the SelectionCombinationMethod.New and Add together. The issue remails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740799#M231</guid>
      <dc:creator>BartVan_Hoecke</dc:creator>
      <dc:date>2018-06-13T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740800#M232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a few lines of code&amp;nbsp;and was able to select 500 features using&amp;nbsp;&lt;STRONG&gt;FeatureLayer.Select(queryFilter, SelectionCombinationMethod.Add)&lt;/STRONG&gt;, where the queryFilter returned 200 rows at a time. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was with a feature service workspace. &amp;nbsp;Could you tell me more about what kind of data source you were using, and how you went about selecting the records? &amp;nbsp;Code snippets would be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 17:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740800#M232</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-06-14T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740801#M233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the test. Yeah, seems like it's not merely the number of features that's taking part in this issue.&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;- I'm using a direct Database connection (Oracle 12c)&lt;/P&gt;&lt;P&gt;- I had added 3 registed Feature Classes (1 point, 2 polylines).&lt;/P&gt;&lt;P&gt;- To select, a QueryFilter is being build up, which we pass on to the Select method. The QueryFilter uses a list of internal ID's to filter on (not the OID field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueryFilter queryFilter = new QueryFilter();&lt;BR /&gt; queryFilter.WhereClause = string.Format("ID IN ({0})",&amp;nbsp; inclause);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inclause being something like :&amp;nbsp; "100102,&lt;SPAN&gt;100103,100104,100105,100106,100107"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been using this for some time now. Never noticed any issues with it. Field is indexed and so on. Never measures how many features could be selected in group.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be related to the feature data itself, for instance the geometry?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 09:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740801#M233</guid>
      <dc:creator>BartVan_Hoecke1</dc:creator>
      <dc:date>2018-06-18T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740802#M234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So there's an Oracle limitation with 1000 clauses in an "in" clause, but you're failing with a much smaller number of records, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a reproducible case that you can send to support?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 16:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740802#M234</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2018-06-18T16:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740803#M235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, we are facing an issue quite below that Oracle limitation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to provide a set of data and a code snippet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Bart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 06:59:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740803#M235</guid>
      <dc:creator>BartVan_Hoecke</dc:creator>
      <dc:date>2018-06-19T06:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BasicFeatureLayer.Select()</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740804#M236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While preparing the dataset export, we noticed that the issue was not occurring with the local gdb dataset. So we did a few extra tests like copying the feature class. All with success, so it seems like we have an error in the table registration (SDE_XML_DOC1?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 14:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/issues-with-basicfeaturelayer-select/m-p/740804#M236</guid>
      <dc:creator>BartVan_Hoecke</dc:creator>
      <dc:date>2018-06-26T14:15:00Z</dc:date>
    </item>
  </channel>
</rss>

