2

I have multiple vector layers representing a time series. Each layer contains many lines each. I want to select a single specific line from each of these these layers and save it to another layer. This line represents the same feature (coastline) in every layer but it's position changes over time.

I can certainly do it 1 by 1 using "export - save selected features as...", but that would take forever. Also, I can't highlight all 40+ layers and use "Select Features by area" tool...

This is what 1 layer looks like:

enter image description here

This is all the layers with the info I want!

enter image description here

  • You could select by expression only the longest line of each layer and export it. Should be managable via the model builder. – Erik Jan 18 at 12:18
  • 1
    Does this same line in all layers have a common attribute? If so, you could create a model using a selection tool such as Select by attribute and then use the Save selected features. Then run this model as a batch process on all your layers. – Joseph Jan 18 at 12:19
  • It IS the longest line, I will try this – Steffan Clent Davies Jan 18 at 12:22
  • Or you could merge the line layers into one layer, then remove all lines shorter than X, where X is the length of the shortest coastline. – csk Jan 18 at 17:20

Your Answer

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

Browse other questions tagged or ask your own question.