I have line file which represents rivers and a polygon file which represents vegetation. I need to what distance of each river runs through each type of vegetation. I believe this is similar to the Spatial Join feature however a Spatial Join is not going to tell be the distance a river is within each vegetation polygon. Do you know how I can calculate type of spatial join?