2

I am trying to split watersheds of the same attribute table into separate layers.

Attribute table is like this.

The Two two repeated values, for eg. SW1 and SW1 both are splits from a same watershed called 'SW1'. I am trying to achieve a single layer with both SW1 and SW2 without getting dissolved. So that I can run calculations for both of the them for my purpose.

By visually I am trying to achieve like this

Original visualization enter image description here

The repeated labels of SW1 has came together as a single layer enter image description here

How to do this automatically without selecting each of them?

2
  • Duplicate the layer. Set up a query on one copy for Bank=RB, and Bank=Null for the other.
    – wingnut
    Apr 22 '21 at 5:41
  • I want to extract layers SW1(SW1&SW1), SW2(SW2&SW2)....SW16(SW16&SW16) in one go Apr 22 '21 at 5:52
5

Look into Split Vector Layer in QGIS's Processing Toolbox. You can use a field to split an existing layer into layers containing unique values of that field.

5
  • I have updated my question again. Split layer can be used to select RB and non RB Apr 22 '21 at 6:09
  • Split on Sub_Waters instead
    – wingnut
    Apr 22 '21 at 6:21
  • It worked now! thanks Apr 22 '21 at 6:30
  • There are many useful processing tools. Take some time to look at the Processing menu and explore them.
    – wingnut
    Apr 22 '21 at 15:31
  • Got it..! Qgis is awesome Apr 23 '21 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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