I am having trouble with one of the steps of a very long model. The goal is to generate a dataset of the water lines that have been "inspected" by our leak detection devices. The devices supposedly will "inspect" all pipe that is 500 feet from the detector, as long as it is connected within that 500 foot buffer. See attached image. The green star represents a leak detection device. The resulting inspected pipe will be all pipe within the circle (500 foot buffer) except the ones highlighted in yellow because they connect outside of that 500 foot buffer. I have tried many ways to achieve this in a model (I need to run this weekly for 3000 miles of pipe), but cannot find an automated way of doing this. My plan was to merge the pipe that is inside the buffer, then remove the sections that are not contiguous with the portion that intersects with the leak detection point, but I have not found a way to do that. Anyone have any thoughts on this?
This is ArcGIS terminology but any GIS should have these tools.
Create the leak device buffer polygon, 500 ft
Clip Water lines by the device Buffer
Dissolve Water lines, multipart
Buffer Water lines, 1 foot
Convert Water line Buffers Multipart-to-Singlepart
Select-by-Location Singlepart Buffers that Intersect device point
Reverse Selection Set of Singlepart Buffers
Select-by-Location original Water lines that Intersect Singlepart Buffers
The unconnected lines should now be selected