0

I am working on a fiber network file and would like to be able to split a point shapefile by multiple attributes, three to be exact. I can "Select Features by Value" and export each one but I can only do this one at a time, I would have to manually do this approximately 1728 times. I can "Split Vector Layer" but this only allows me to select one value, I need three (tube, strand, port). I thought about exporting it to a CSV file, but this would create 1728 CSV files to import. Is there a feature, plugin, or script that exists for this? I have not run any scripts yet, so if this is an option can you point me to a tutorial?

Attributes Table

The goal is to be able to quickly identify each Splice Point by Tube, Stand and number of Ports: Styles

asked Sep 8, 2023 at 21:48
3
  • You could merge your 1728 layers into one then do the splitting/extraction to three layers on that, then split those by the layer name value. Commented Sep 8, 2023 at 22:49
  • Currently all "1728" are one Shapefile, I am trying to find an easy way to split them into the 1728 possible combinations to be able to easily identify them by changing their style. I have updated this with an image showing the few I have been able to do by using "Select Features by Value" and export each one individually. Unfortunately this is the slow method. Commented Sep 8, 2023 at 22:59
  • I've answered below, but I think you may have what's known as an X/Y problem. If you want different symbology per group of values, use categorized symbology on one layer. Commented Sep 9, 2023 at 7:35

1 Answer 1

1

Create virtual field that concatenates your three attributes, then use the Split vector layer processing tool:

enter image description here

enter image description here

answered Sep 9, 2023 at 3:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.