tudelft3d/pprepair

pprepair for self-intersection increases the number of features

monica2587 opened this issue · 1 comments

When attempting to repair self-intersections, the number of features increases by more than 5x.
I am using the following command:
./pprepair -i clip.geojson -o clip_out -rtnn

I'm attaching both the original clip.geojson and the repaired clip_repaired.geojson in the following gist. The former has 3 features in total while the repaired file has 22 features. Would it be possible to keep the number of features closer to the original?

https://gist.github.com/monica2587/ede9efe11ee37965811b

Right now it's not possible, but we should implement merging multiple disconnected areas into a multipolygon in the future.