01-16-2019 03:49 AM
I have a network of lines and I need to be able to select (in a query e.g.) all lines do not touch any of their neighbors - aka that are not linked to the rest of the network.
Any ideas how I can achieve this?
Solved! Go to Solution.
01-16-2019 01:01 PM
You can do an Aggregation where line_feature is both summary and detail feature
Use a Spatial Aggregation where summarry features 'touch'
As Output do a count of features ie Count(*)
You can now do an Attribute Query, All features with a count = 1 do not touch others.
01-16-2019 01:08 PM
Alternately, in a single query you could do a Spatial Query where you Select line-feature that 'meet' and tick the 'Not' button
with features in as line_feature.
01-16-2019 10:53 PM
The second solution you provide (Spatial Query with the line-feature and "not meet") is the first I tried, but it seems to compare each feature with all the features, including itself... so I get a "meet"-match for all the features, because of course, a feature meets itself.
I wil try the aggregation technique, thanks for the input!
01-17-2019 12:44 PM - edited 01-17-2019 01:01 PM
Both methods work for me. Here's my example of using Spatial Query using 'meet' with 'Not' checked. Worked fine.
Maybe you used 'touch' and 'Not' ? That would exhibit what you explained.