2

For context, I am working on OSM road data, which are polylines. Some road segments belong to multiple roads because at some point they overlap then they become separate again. For an overlap segment, in the attribute, i will have both roads, for example "A10;A11" for highways 10 and 11, it can even contains 3+ roads each separated by a semicolon.

What i would like to do is some way of copying those segment for each road, for example, my feature with attribute "A10;A11" would become 2 features, one with the "A10" attribute, the other with the "A11" attribute. Obviously i want some kind of general command, i can do it by hand copying and editing features one by one but it would take forever and large data.

Would you know how to achieve that?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Mar 17 at 8:42

1 Answer 1

6

You can use the tool "Split features by character" from the toolbox.

Just chose your input layer, the attribute for the split and the character that defines the split. This produces a seperate feature for each value according to the defined split:

enter image description here

answered Mar 17 at 9:14
0

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.