Closed benstadin closed 8 years ago
It's possible, but I think you more need a GIS than pprepair to be honest.
In the branch 'new' there's a better version to handle input/output files. What you're looking for is the option PL, for priority list. You'd repair as such
pprepair -i A.shp -i B.shp -r PL --priority prio.txt
and have in the same folder a file prio.txt
which contains 3 lines:
datasets
A
B
this gives the priority to use when there are overlapping polygons.
Is it possible to force to split regions, preserving all regions, and remove "cutoff regions"?
I give an example below for what I want to achieve. The orange polygons here originally came from layer "B" within a CAD file, the green polygon came from layer "A". The green polygons are actually about the same size as the whole complete area with all it's polygons. So the green area polygon is visible there because there is no orange polygon on top of it.
So I want to "cut out" just a green polygon as it's visible in the first picture, and throw away the rest of the green polygon since it is mostly overlapped by orange polygons.
Green and orange:
Only green: