I have a polyline shp file, which has 3 routes. I need to find the overlap segments of any two routes, and then merge all the overlap segments with the original 3 routes to get a new polyline shp file for the further analysis. Now my method is to use two iterations to obtain the results. The following picture shows the method I used for now. In the model, AllRoute.shp includes route0, route1 and route2.
However, I have to use the same method for 500 routes. Can anyone help me with adding another iteration to the existing model?