I'm using the following flow and getting two different results:
The flow uses a cutting line and gives back the original (un)cut results. The polygon for this example is:
POLYGON((145055.748 479705.959,145059.802 479704.301,145060.003 479704.791,145061.669 479704.11,145061.468 479703.619,145079.166 479696.383,145084.101 479708.452,145066.422 479715.682,145066.222 479715.191,145064.556 479715.872,145064.756 479716.363,145047.05 479723.604,145046.285 479721.734,145043.203 479722.994,145042.471 479721.338,145039.139 479722.701,145038.458 479721.035,145035.116 479722.401,145034.481 479720.846,145014.358 479729.074,145012.216 479723.836,145013.891 479723.15,145012.653 479720.124,145008.46 479721.838,145002.488 479719.333,144994.651 479700.17,144989.025 479702.474,144968.486 479652.247,144971.54 479650.998,145020.56 479630.952,145021.696 479633.729,145039.976 479626.254,145038.841 479623.477,145046.477 479620.354,145072.687 479684.501,145050.657 479693.509,145052.257 479697.422,145055.748 479705.959),(145008.472 479694.522,144996.605 479699.371,145004.11 479717.725,145008.471 479719.555,145011.855 479718.171,145011.166 479716.486,145016.553 479714.283,145011.227 479701.26,145008.472 479694.522))
I want to cut from A to B with a single straight line. What i except when i cut it is that, at the end of the flow i would end up with just 1 polygon cause there is no real cutting done with just a single line.
LINESTRING(145003.6683401 479703.20131098,145060.55372605 479700.82006226)
Like this.
But when using the following line i get 2 results in the tester_3:
LINESTRING(145007.78416728 479701.58189224,145062.46469331 479696.46661722)
With a very very tiny area
POLYGON ((145011.227 479701.26,145016.553 479714.283,145011.227 479701.26))
It looks a bit random cause about 50% of the drawn lines it gives the expected geometry back, in the other cases it returns the very tiny wrong object. Any ideas on preventing to get the tiny area back without losing a real tiny area that was really cut off?
Or could this be a thing in the PolygonCutter itself? @lars_de_vries