I have tasks that I need to automate:

  1. Dissolve line features by attribute - (Dissolve tool)
  2. Split the dissolved layer into single parts - (Multipart to singleparts tool)
  3. Extract different layers based on an attribute(values are integers e.g. from 1 to 6) - (Split vector layer tool) - here the result is many layers depending on unique attributes. The results are saved in a directory(folder).
  4. Intersect one extracted layer with another layer - (Split line with lines). Here only two layers can be intersected. there is a pattern to intersect for example where attribute = 1, then intersect with layer whose attribute =2. Therefore only an increment of 1
  5. Merge the resulting layers.

As input I have a stream network that is quite segmented. This process ensures that I have the correct number of segments based on my requirements.

I am able to set up the tools until number 3. I have set up the input parameters as the layer and the field to dissolve. The result of number 3 is many different layers that are stored in an output directory. I have no clue on how to access the output directory and set up the Intersection (number 4).

closed as too broad by PolyGeo Sep 11 '17 at 9:28

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.