I am trying to do a select by location of all snowmobile trails that intersect a major road. The problem I am having is the the snowmobile trails is made up of over 1,000 really short polylines, and even though a lot of them are connected in some sort of loop they are treated as separate polylines with separate FID's. Therefore when I do a selection for polylines that intersect with the major roads it is only a few short segments which are nearly right on top of the road, and all other segments of the trail that obviously connect to the road are not selected because they are technically classified as separate polylines which don't intersect the road. I've been looking around for ways to join all polylines that touch and make that into one long polyline, but I haven't had any luck. Any ideas how I would write a python script to perform a task like this would be greatly appreciated. Thanks!