<?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: Finding Duplicate lines or lines that intersect. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205955#M11809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have set of duplicate lines as well (they are spatially identical) but the Find Identical tool is not detecting them. I've tried numerous variations all to no avail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 17:45:12 GMT</pubDate>
    <dc:creator>JasonKleps</dc:creator>
    <dc:date>2012-12-11T17:45:12Z</dc:date>
    <item>
      <title>Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205953#M11807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a single Feature Class of Pipes....I noticed that somehow along the way Duplicates were created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;They are basically exact duplicates right on top of one another.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a tool to run to find the lines that intersect or duplicate in a single Feature Class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 14:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205953#M11807</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2012-08-06T14:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205954#M11808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the Find Identical or Delete Identical tool and check the 'Shape' field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000054000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//001700000054000000&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete_Identical/001700000053000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete_Identical/001700000053000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 15:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205954#M11808</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2012-08-06T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205955#M11809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have set of duplicate lines as well (they are spatially identical) but the Find Identical tool is not detecting them. I've tried numerous variations all to no avail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205955#M11809</guid>
      <dc:creator>JasonKleps</dc:creator>
      <dc:date>2012-12-11T17:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205956#M11810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using GIS10 you could try "Delete Identical" under Data Management in the toolbox. You may want to give coordinates (Calculate Geometry) to each line so you don't delete lines that are the same length.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 20:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205956#M11810</guid>
      <dc:creator>denisedavis</dc:creator>
      <dc:date>2012-12-11T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205957#M11811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jason,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please share part/all of your data? I have posted some questions to the other thread (on same issue) for you - please respond to the questions - that will help me refine my tests and find a good answer for you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Nobbir&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessing Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 20:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205957#M11811</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-12-11T20:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205958#M11812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jason,&lt;BR /&gt;&lt;BR /&gt;Could you please share part/all of your data? I have posted some questions to the other thread (on same issue) for you - please respond to the questions - that will help me refine my tests and find a good answer for you. &lt;BR /&gt;&lt;BR /&gt;Thanks, Nobbir&lt;BR /&gt;Geoprocessing Team&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Nobbir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for getting back to me so quickly. I'm sending you a folder ("Data_For_ESRI") that contains a personal geodatabase ("&lt;/SPAN&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;SPAN&gt;"). Inside there are 2 Feature Classes and a table. "&lt;/SPAN&gt;&lt;STRONG&gt;Original_Data&lt;/STRONG&gt;&lt;SPAN&gt;" is a FC I created to test the procedure. I started an editing session, set the snapping environment so that I could "Snap to Sketch" and then drew some legitimate lines (with no self-intersections) and various self-intersecting lines. I then broke these features apart using "Split Lines At Vertices" to create "&lt;/SPAN&gt;&lt;STRONG&gt;Data_Split_Lines_By_Vertices&lt;/STRONG&gt;&lt;SPAN&gt;". I then ran the "Find Identical" tool (selecting the "Shape" field in the dialog box) to create "&lt;/SPAN&gt;&lt;STRONG&gt;Find_Identical_Table&lt;/STRONG&gt;&lt;SPAN&gt;"). As you can see from the table it did not identify any of the self-intersecting segments. These tests were run in both geographic (NAD-83) and projected coordinate systems ("Albers Equal Area Conic"). As I said, I have tried it on a computer running SP4 as well as one with SP5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jason&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 12:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205958#M11812</guid>
      <dc:creator>JasonKleps</dc:creator>
      <dc:date>2012-12-13T12:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205959#M11813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess your input to Find Identical is Data_Split_Lines_By_Vertices, right? Here is the screenshot for one of the self-intersecting lines (feat# 5 of your Test_Lines data):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19907[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After splitting this line by vertices, we get 17 short lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19909[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;None of these 17 lines lie exactly one upon another - that is, there is no spatially duplicate feature among these 17 lines. Could you share your spatially identical lines?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 15:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205959#M11813</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-12-13T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205960#M11814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the data &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I guess your input to Find Identical is Data_Split_Lines_By_Vertices, right? Here is the screenshot for one of the self-intersecting lines (feat# 5 of your Test_Lines data):&lt;BR /&gt;&lt;BR /&gt;[ATTACH=CONFIG]19907[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;After splitting this line by vertices, we get 17 short lines.&lt;BR /&gt;&lt;BR /&gt;[ATTACH=CONFIG]19909[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;None of these 17 lines lie exactly one upon another - that is, there is no spatially duplicate feature among these 17 lines. Could you share your spatially identical lines?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wouldn't a line that starts at vertex 0, goes out to vertex 1, then returns to vertex 0 and closes as vertex 2 (and vertex 2 lies on top of vertex 0 by setting the snapping environment appropriately) be identical by definition? And wouldn't splitting by vertices create 2 lines of the exact same length right on top of one another? Or am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, take a look at OBJECT IDs 15 &amp;amp; 16 in &lt;/SPAN&gt;&lt;STRONG&gt;Data_Split_Lines_By_Vertices&lt;/STRONG&gt;&lt;SPAN&gt;. Are those not spatially identical? Or OBJECT IDs 7 &amp;amp; 8 to the north?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 17:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205960#M11814</guid>
      <dc:creator>JasonKleps</dc:creator>
      <dc:date>2012-12-13T17:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205961#M11815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Wouldn't a line that starts at vertex 0, goes out to vertex 1, then&amp;nbsp; returns to vertex 0 and closes as vertex 2 (and vertex 2 lies on top of&amp;nbsp; vertex 0 by setting the snapping environment appropriately) be identical&amp;nbsp; by definition?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the answer is "should be". However, in 10.0 (including SP5), digitizing direction mattered. So, the above two lines are considered non-identical &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; We have enhanced the tool's behavior by ignoring the digitizing direction in 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you need a workaround. If you want to try - just look the documentation for ArcPy Geometry classes. There is a method called equals - try using that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Earlier, I was unable to reproduce the case as I was using a 10.1 setup. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 19:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205961#M11815</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-12-13T19:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205962#M11816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, the answer is "should be". However, in 10.0 (including SP5), digitizing direction mattered. So, the above two lines are considered non-identical &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; We have enhanced the tool's behavior by ignoring the digitizing direction in 10.1.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need a workaround. If you want to try - just look the documentation for ArcPy Geometry classes. There is a method called equals - try using that.&lt;BR /&gt;&lt;BR /&gt;Earlier, I was unable to reproduce the case as I was using a 10.1 setup. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, if you have a workaround that would be great. I'll also explore the Arcpy Geometry class as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2012 19:29:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205962#M11816</guid>
      <dc:creator>JasonKleps</dc:creator>
      <dc:date>2012-12-13T19:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205963#M11817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jason,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this code. Set the path of your input data to in_fc. I haven't done anything (other than printing) with the duplicate features - you'll need to use either an insertcursor (with a new empty feature class) or updatecursor (to work with current feature class) to carry over the unique features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy

in_fc = r"C:\mytools\findidentical\geom_equals.gdb\trailsfew"

dsc = arcpy.Describe(in_fc)
sr = dsc.spatialReference
oid_field_name = dsc.oidFieldName

# get a cursor on the input features
rows1 = arcpy.SearchCursor(in_fc)

# exclude features already compared once
exclude = []

# iterate through the first coursor
for row1 in rows1:
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; oid1 = row1.getValue(oid_field_name)
&amp;nbsp;&amp;nbsp;&amp;nbsp; shp1 = row1.shape
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # get a second cursor on the same input features
&amp;nbsp;&amp;nbsp;&amp;nbsp; rows2 = arcpy.SearchCursor(in_fc)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # add the feature to be compared to exclude list
&amp;nbsp;&amp;nbsp;&amp;nbsp; exclude.append(oid1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # create a set to hold duplicate features
&amp;nbsp;&amp;nbsp;&amp;nbsp; group = set()
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; # iterate through the second cursor
&amp;nbsp;&amp;nbsp;&amp;nbsp; for row2 in rows2:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oid2 = row2.getValue(oid_field_name)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shp2 = row2.shape
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ignore features already compared
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if oid2 in exclude:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # test equality
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if shp1.equals(shp2):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # add both feature ids to the set of identical features
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group.add(oid1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group.add(oid2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # add the feature just compared to the exclude list
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exclude.append(oid2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; if group:&amp;nbsp; # if the group is not empty
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print group
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I have used two separate cursors on the same feature class. This is due to some issues at 10.0 - at 10.1 one cursor is enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if you find any issue or if you need help with creating an output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Nobbir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205963#M11817</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2021-12-11T10:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Duplicate lines or lines that intersect.</title>
      <link>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205964#M11818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jason,&lt;BR /&gt;&lt;BR /&gt;Try this code. Set the path of your input data to in_fc. I haven't done anything (other than printing) with the duplicate features - you'll need to use either an insertcursor (with a new empty feature class) or updatecursor (to work with current feature class) to carry over the unique features.&lt;BR /&gt;&lt;BR /&gt;Note: I have used two separate cursors on the same feature class. This is due to some issues at 10.0 - at 10.1 one cursor is enough.&lt;BR /&gt;&lt;BR /&gt;Let me know if you find any issue or if you need help with creating an output.&lt;BR /&gt;&lt;BR /&gt;Thanks, Nobbir&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Nobbir - This is a great Christmas present!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Jason.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 16:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/finding-duplicate-lines-or-lines-that-intersect/m-p/205964#M11818</guid>
      <dc:creator>JasonKleps</dc:creator>
      <dc:date>2012-12-27T16:16:24Z</dc:date>
    </item>
  </channel>
</rss>

