Closed ldemaz closed 11 years ago
Sorry, I wrote an incomplete command. It should have been:
pprepair -i poly_bad.shp -o poly_fix.shp -fix
I should note that it hangs for quite a while during the process.
Thanks!
I'm looking at it with the ddt debugger, and it appears to be in an infinite loop, which eventually runs out of memory.
Dennis
Hi,
I also saw that it gets into an infinite loop somehow. I'm quite busy these days with a couple of deadlines, but I'll look at it in the coming weeks.
Cheers, Ken
Thanks for the report!
Some additional info:
Hope this helps.
Dennis
It's fixed now :-). It was a nasty bug related to overlapping constraints in CGAL!
Cheers, Ken
Thanks Ken! Much appreciated.
Dennis
And thanks from me, too! Cheers
Hello, I have been working with pprepair, and it is doing quite nicely (I call it from R to clean up polygons I am analyzing). So far, it has worked in most cases, but I have one set of test polygons I just came across that is giving me an error.
Adding a new set of polygons to the triangulation... Path: poly_bad.shp Type: ESRI Shapefile Layers: 1 Reading layer #1 (3 polygons)...
Any thoughts on how to fix will be very appreciated.
Thanks!