2

I'm modifying the existing water pipeline network. Sometimes I have information that the pipe from the beginning to the 125meter has a diameter 63mm after that point it has a 100meter -diameter 50mm and the rest of it 32mm. I need to split that 1 pipe into 3 pipes:

  • 125meter,
  • 100meter,
  • and the rest of what was left (to give different diameter attributes(63,50,32)).

And I also need it to be modified in the same shapefile. Advanced digitizing and v.split don't work in this situation.

enter image description here

6
  • 3
    Are you asking how the split lines by length tool works?
    – Erik
    Commented Jul 28, 2022 at 8:36
  • Previously I was working in ArcGIS pro and it was very easy and fast to solve this kind of problem(splite tool- trace by length limit). It just modifies the lines as required. In Qgis I can't find the right tools to do this. Commented Jul 28, 2022 at 10:17
  • Well, have you tried the split lines by length tool?`
    – Erik
    Commented Jul 28, 2022 at 10:41
  • If you mean GRASS- v.splite then yes (I can't find other split lines by length tool). it creates a new layer but does not modify existing. Commented Jul 28, 2022 at 10:48
  • 1
    I think you need to provide more details on what you're trying to do.
    – Erik
    Commented Jul 28, 2022 at 11:10

1 Answer 1

1

A workaround:

Create a point layer with points as the split distances using "Geometry by expression":

collect_geometries(array_foreach( array(100,225), end_point(line_substring( $geometry, 0, @element))))

Snap the split tool line to the points

Your Answer

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

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