0

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.

The vector with two layers

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?

  • Welcome to GDSE - glad to have you here! Please look around tour to get a sense of who we are as a community, and what we're about. Look at How to Ask and How to Answer questions, to learn how to frame acceptable queries and what to expect of replies and answers; please also look at help center to understand our community's internal behavioural expectations. So far, great start with a solid question, clear demonstration of what you've tried, and what your stopping issue is - again, welcome! – GerardFalla Feb 6 at 16:04
0

If you are okay with the rivers being shapes and not merely stroked paths....

  • Select all
  • Object > Expand Appearance (if available)
  • Object > Expand and merely click OK
  • Pathfinder Panel: Click the Merge button.

You will then have individual sections based upon areas of adjacent color.

Note that this will split the "ochre" colored masses by the river paths as well. If you want those encompassing shapes to remain whole shapes, then duplicate those first and do not include the duplicates when using Pathfinder. Then you'll have to delete the divisions created after running the Pathfinder command.

For more on how the Pathfinder operations work, see here.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.