Hello folks,
I have some beginner questions about what is possible using a Trace Network:
I have created a Trace Network with storm drain nodes (points) as junctions and storm drain pipes (lines) as edges. Because of isolated components of the storm drain infrastructure, there are numerous small "subnetworks" (preferred term?) in the layer - e.g. a single pipe with a node at each end representing a culvert passing under a road, disconnected from anything else in the network.
Is it possible to interact with/select these subnetworks, and/or their constituent underlying features, based on criteria like number of junctions or edges per subnetwork? E.g., I want to be able to select the line for every subnetwork with only one or two pipes (so only two or three nodes) and output those lines to a new feature class.
I have found the "aggregated_lines/points" and "result_type" parameters for the Trace GP tool, but haven't found examples of how to perform the selection/isolate specific subnetworks based on criteria like "made up of </= 2 edge features".
I am a, let's say, novice intermediate arcpy scripter, so happy for any suggestions that involve scripts, but grateful for specific code examples to illustrate the concepts at work. Alternatively, if this can be done purely using GP tools I haven't figured out yet, that's great too!
Thanks in advance for any suggestions!