Select to view content in your preferred language

I want to find instances where lines share a common ID, but the constituent parts are disjointed and not connected to each other.

1475
8
02-26-2024 09:00 AM
Labels (3)
AnasAlkhrissat
Emerging Contributor

I'm working in ArcGIS Pro with a line feature class named 'iso.' Initially, this feature class contained merged lines, meaning they were multipart. The parts (segments) were merged and connected seamlessly. Now, I am interested in identifying lines with the same ID where the parts are not connected. In other words, I want to find instances where lines share a common ID, but the constituent parts are disjointed and not connected. like below iso_id is 8409. just i want to discover these error .not solved  

 

iso.PNGiso.PNG

Tags (2)
0 Kudos
8 Replies
KaitlynR
Esri Contributor

Hi there,

You mentioned that the line features were initially multipart. Assuming that the features are now exploded/independent, the Find Identical tool may be what you're looking for.

If you're looking to identify multipart features, I would suggest taking a look at this thread.

Cheers,

Kaitlyn

0 Kudos
AnasAlkhrissat
Emerging Contributor

AS YOU CAN SEE FROM THE IMAGE . I want to detect this particular case where there is an inconsistency. The ISOid is the same, but the parts are not connected, meaning there are gaps between them.3.PNG

0 Kudos
KaitlynR
Esri Contributor

Using the Find Identical tool with iso_Id as your input field will return any records that share an ID.

0 Kudos
AnasAlkhrissat
Emerging Contributor

@KaitlynR , 

An identical tool in this case just shows where the line shares the same iso_id. however that is not enough. what I am looking to check if all these segments that shares the same iso-id if they are connected, and no gap between them like the image I shared above.`

`

0 Kudos
AnasAlkhrissat
Emerging Contributor

@KaitlynR in other words , 

So I Looking to detect if spatial disconnect exists in segments with similar ISO IDs

0 Kudos
Dale_Honeycutt
Frequent Contributor

My first thought is to use the Unsplit Line geoprocessing tool using iso_id as your Dissolve Field.  In your example above, you'll end up with 3 lines with 8409 as its iso_id.  To get a count of number of lines with the same iso_id, use the Summary Statistics tool using iso_id as your Statistic Field and Count as your Statistic Type.  Any iso_id with count > 1 will have disconnected segments.  

0 Kudos
AnasAlkhrissat
Emerging Contributor

that will not give me if the 3 lines are not connected  and this my probloem 

0 Kudos
Dale_Honeycutt
Frequent Contributor

I guess I don't understand the problem. I made the following test case.  There are 7 lines, all with iso_id of 8409:

original lines.jpg

I ran Unsplit Line as follows

unsplit line dialog.jpg

Which gives me this feature class and attribute table

table.jpg

There are 3 instances of 8409, meaning that the line is disconnected in 2 places.  I imagine in your case that the  output of Unsplit Lines might be a feature class with 100s of lines, and finding rows with the same iso_id might be hard, so use Summary Statistics to find which lines are disconnected.  

sum stats dialog.jpg

Output of Summary Statistics.  Any row with FREQUENCY > 1 is a disconnect.

sum stats table.jpg

You can use this information to display disconnected lines -- perhaps joining your original lines to this table using iso_id as the key.

 

0 Kudos