<?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 Select By Location with condition &amp;amp;quot;are identical to&amp;amp;quot; in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238843#M6175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do,with c# language, a "Select by location" between two shapefiles with the condition "are identical to"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do a button tool for ArcMap tha compare two shapefile end select the polygon that are identical or would be fine even those who are different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 13:31:28 GMT</pubDate>
    <dc:creator>FilippaFideria</dc:creator>
    <dc:date>2011-08-11T13:31:28Z</dc:date>
    <item>
      <title>Select By Location with condition &amp;quot;are identical to&amp;quot;</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238843#M6175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi forum,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do,with c# language, a "Select by location" between two shapefiles with the condition "are identical to"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do a button tool for ArcMap tha compare two shapefile end select the polygon that are identical or would be fine even those who are different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238843#M6175</guid>
      <dc:creator>FilippaFideria</dc:creator>
      <dc:date>2011-08-11T13:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location with condition "are identical to"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238844#M6176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is my post with some code, please check it. I think it might help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/36660-Get-difference-between-two-shapefile"&gt;http://forums.arcgis.com/threads/36660-Get-difference-between-two-shapefile&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 23:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238844#M6176</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2011-08-11T23:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select By Location with condition "are identical to"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238845#M6177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read your post and test your code, it works fine but is too slow for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the problem is because I have more than 10000 record in the attribute table for each shape, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;than I had to add the function "SelectByShapeAndCheckIfEqual" in a loop:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 List&amp;lt;int&amp;gt; fidList = GetFidList(Properties.Settings.Default._newFolderPath, nomeShape);
foreach (int fid in fidList)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; newFeature = newFeatureClass.GetFeature(Convert.ToInt32(fid));
&amp;nbsp;&amp;nbsp;&amp;nbsp; SelectByShapeAndCheckIfEqual(newFeature, oldFeatureLayer);
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it's not what I need? I'll explain what I should do!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two shapefile refer to two different months, for example month_1 and month_2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I should look for differences alphanumeric (attribute table) and geometric between shapefile of month_1 and shapefile of month_2 and vice versa, mont_2 vs month_1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Than, save the new shapefile with the difference only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you code to suggest me? Or link?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tanks so much in advance!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/select-by-location-with-condition-amp-quot-are/m-p/238845#M6177</guid>
      <dc:creator>FilippaFideria</dc:creator>
      <dc:date>2021-12-11T12:01:21Z</dc:date>
    </item>
  </channel>
</rss>

