I have two layers - one layer that is a map of rivers (the lines), and a second layer that is a map of the catchment basins (the polygons in yellow). I intend to make a colourful map where the rivers have different colors based on which catchment they are in.
I would like to convert all the river paths into groups of paths that are split by the shape of the catchment polygons. And then stylize the group paths accordingly.
I converted the polygons into a complex path, the rivers into a complex path and then tried clipping it, that didn't work. How else can I do this in Illustrator?