Stitch two adjacent CLC+ Backbone PUs together to remove duplicate features. There are two methods implemented for merging adjacent. The simplified method simply compares the two polygons left and right of the PU border for topologically equality. The advanced method breaks up the polygons left and right of the PU border and merges the two parts together.
git tag -a v0.1 -m "Release 0.1 with xyz"
git push origin v0.1
The following steps outline the processing of the Stitching tool in the non-simplified (CompareTopologicalEquality = false) setting:
- Move all the polygons that are completely contained inside the PU directly to the result
- Select the polygons that overlap with the PU border, convert them polygons to lines
- Clip the lines and the PU border and dissolve
- Snap the PU1 lines to the PU2 lines with 1mm snapping-distance
- Merge the (snapped) PU1 lines and the PU2 lines, then node and union the result
- Polygonize the lines and merge them into the PU1 result (from step 1)
- Fill the gaps of PU1 with border polygons that have not been shared with PU2
- Fill the gaps of PU2 with border polygons that have not been shared with PU1 AND are not part of PU1 already (though the merge earlier)
- Save both the PU1 and PU2 results to file
Made with ❤️ by Spatial Focus