<?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: Use intersect on one layer and find the duplicated geometries in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587005#M15882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Agray1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then how can I use "find &amp;amp; delete identical" in my vba code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is really appreciated if to be specific because I am not advanced in arcobjects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shayan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 17:42:43 GMT</pubDate>
    <dc:creator>ShayanNikoohemat</dc:creator>
    <dc:date>2013-02-07T17:42:43Z</dc:date>
    <item>
      <title>Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/586999#M15876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use this intersect sample code of arcobject vba to catch duplicates in lines and polygons : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://edndoc.esri.com/arcobjects/9.1/componenthelp/esricarto/IBasicGeoprocessor_Intersect_Example.htm" rel="nofollow" target="_blank"&gt;http://edndoc.esri.com/arcobjects/9.1/componenthelp/esricarto/IBasicGeoprocessor_Intersect_Example.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1:The problem is that when I apply it on the same layer to find duplicated features it doesn't work, while through toolbox&amp;gt; overlay&amp;gt; intersect it works properly. Here is a sample image:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; [ATTACH=CONFIG]21546[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2: Do you have any other workaround for catching duplicates in polylines and polygons, I thought about a: TopologicalOperator::simplify, b: RelationalOperator::equals,&amp;nbsp; c: finding centroids and midlines, but I don't know which one is a correct solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I don't want use attribute table to remove duplication, I need a geometrical solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 13:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/586999#M15876</guid>
      <dc:creator>ShayanNikoohemat</dc:creator>
      <dc:date>2013-02-07T13:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587000#M15877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, would the geoprocessing tool "find identical" using only the shape field not do this for you?&amp;nbsp; Shape field would compare geometries...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 14:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587000#M15877</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-02-07T14:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587001#M15878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd use IRelationalOperator::equals to find out whether or not 2 geometries are duplicate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 15:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587001#M15878</guid>
      <dc:creator>WeifengHe</dc:creator>
      <dc:date>2013-02-07T15:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587002#M15879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;IRelationalOperator::equals is a good idea but in my experience you need to compare all geometries to all other geometries it can be very slow for large feature classes.&amp;nbsp; You can try to be smarter and check if the index intersects first but it is still quite slow.&amp;nbsp;&amp;nbsp; I build a tool to do this back in 9.1 for a client.&amp;nbsp; I used featureindex to narrow down the search and then IRelationalOperator.equals.&amp;nbsp; I have found the featureindex to be somewhat finicky.&amp;nbsp; If I had to do it again I would try to use the find intersect tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 15:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587002#M15879</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-02-07T15:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587003#M15880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Agray1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply, I think "find identical" could be a good solution, but do you have any clue for my first problem regarding not only identical but also partly duplication such as a segment duplication of a polyline. Because with intersect tool we can identify them in the same layer, but from the code it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 16:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587003#M15880</guid>
      <dc:creator>ShayanNikoohemat</dc:creator>
      <dc:date>2013-02-07T16:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587004#M15881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The basic geoprocessor is pretty much obsolete.&amp;nbsp; I believe it came out in the 8.x series as a replacement for the geoprocessing tools that ArcView GIS 3.2 had at the time.&amp;nbsp; Back then, the toolbox was a separate application from ArcMap and ArcCatalog and ArcView 3.x had these tools in the main application so they needed that too.&amp;nbsp; You can't really compare them to the Geoprocessing tools, they are completely different.&amp;nbsp; You can call GP tools from ArcObjects though but that is very different from using IBasicGeoprocessor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;IBasicGeoprocessor provides access to the methods and properties of the BasicGeoprocessor object.&amp;nbsp; The functionality of the BasicGeoprocessor object had been superseded by the new Geoprocessing framework of ArcGIS starting at version 9.0.&amp;nbsp; Developers should utilize the new tools whenever possible. &lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 16:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587004#M15881</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-02-07T16:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587005#M15882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Agray1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then how can I use "find &amp;amp; delete identical" in my vba code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is really appreciated if to be specific because I am not advanced in arcobjects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shayan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 17:42:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587005#M15882</guid>
      <dc:creator>ShayanNikoohemat</dc:creator>
      <dc:date>2013-02-07T17:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587006#M15883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Firstly you need arcinfo license, ArcView won't do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find Identical info is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000054000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000054000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;delete identical&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete_Identical/001700000053000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete_Identical/001700000053000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the vb.net help might be of use to show how to call the tool, it will be a little different in VBA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000m0s000000" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000m0s000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA support is being phased out by esri so there is not a lot of info on it and expect to see it disappear (I would not used VBA for new development.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 18:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587006#M15883</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-02-07T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use intersect on one layer and find the duplicated geometries</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587007#M15884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know ArcObj. VBA is deprecated but for some reasons I need to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SHayan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 19:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-intersect-on-one-layer-and-find-the-duplicated/m-p/587007#M15884</guid>
      <dc:creator>ShayanNikoohemat</dc:creator>
      <dc:date>2013-02-07T19:41:55Z</dc:date>
    </item>
  </channel>
</rss>

