Hi,
I have a GPS track as a polyline, attached.
I am looking at how to tiday and/or clean self-intersections. It must be a common task and so far I only found the Repair Self Intersection tool which requires the Topographic Production extension...
Is there any other geoprocessing tool and/or workflow to perform such cleaning?
Thanks
Hi
If you save the feature in a geodatabase, you will be able to create topology for it, using the rule "must not self intersect (line)". This will remove the self-intersections. You will need to choose an appropriate tolerance.
I hope that this helps.
Regards,
Alka
planarize in an edit session may work for many situations. once planarized, you can delete segments with less than a certain threshold length
you can fine-tune using additional methods but that is what the Topographic Production extension covers more quickly
Hi all,
Thanks for your help.
1. Unfortunately, the Repair Geometry did not help because dangles are probably too large and not actually geometry problem
2. The Planarize is a good start but it only works for simple self-intersection and/or dangle. Anything more complex need a manual fix, as shown below.
3. The Topology rule... I tried to adjust the XY Cluster Tolerance to 0.001 degree to match my self-intersection but I received an unknown error...
This is all I managed to test this week... As the Repair Self Intersection tool in the Topographic Production extension needs extra licensing, I wonder if there would be a similar tool in QGIS (but I am not as experienced in QGIS!)
Hi
Point 3 refers. Please try setting the tolerance in metres or feet and check if you obtain the error message? On the sample you provided, I set the tolerance in metres and it worked in removing the self-intersection. The problem was that I was unsure of your projection and therefore set the tolerance extremely huge to test the self-intersection functionality.
This could be a short-coming in my thinking but I only use topology with projected data as I can visually see (in my mind) the tolerances I set in metres (I unfortunately cannot measure in degrees decimal).
Thank you.
@TimWitt2 wrote a nifty python add-in a few years back that took care of dangles. It was written for ArcMap but the code might (should?) be able to be adapted to Pro. Your illustration shows some pretty ugly tracks; it's going to take some manual editing to fix stuff like that, so get ready to roll your sleeves up and get your hands dirty.