qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.32k stars 2.97k forks source link

Splitting with lines #57195

Open MTrim opened 4 months ago

MTrim commented 4 months ago

What is the bug or the crash?

Splitting polygons with lines doesn't work when the two different lines crosses in the middle of a polygon. It also depends on the chronological order. When you draw the first line accross the polgon it works. When you draw the shorter line first, the splitting doesn’t work https://www.loom.com/share/25d9a7d1a8484d19ac9407be1433655d?sid=8ed5f737-c55f-4c2d-9eaf-61ecee8be535 https://www.loom.com/share/5a5aa24d80284c97a5b52a6f46cc8152?sid=ea64ff4b-cb98-425e-94a7-bdbb2a6f9555

Steps to reproduce the issue

  1. Draw a polygon

  2. draw a line which crosses the polygon

  3. "Split with lines"

  4. select the layers => works

  5. Draw a polygon

  6. draw a line which ends inside the polygon

  7. draw a second line which snaps to the first line and crosses the border of the polygon

  8. "Split with lines" => doesn't work

Versions

3.34

Supported QGIS version

New profile

Additional context

No response

uclaros commented 4 months ago

Is this practically the same as #53616 ?

MTrim commented 4 months ago

Not quite sure… it could be related to this one.