Closed ldemaz closed 10 years ago
Hi,
This particular polygon also crashes for me. I'll debug it and let you know.
Crashed also for me, although I'd be surprised if GEOS returned that it's valid. My GEOS says duplicate vertices, and you can see that first two are identical.
Thanks for looking into this for me. So, a bit more information: this is one polygon out of 9. Pprepair processes the set of them without complaint - this is one polygon out of a set of 8 or 9. All fail when processed separately with prepair.
For some reason, when I call gIsValid (R's bindings to geos) to inspect each polygon (read into a spatialPolygonsDataFrame) in this set, it says they are all valid.
Look forward to your further thoughts on this. Thanks!
It's fixed now. Apparently the CGAL function is_edge(...) has problems if you pass the same vertex twice, so now we check for duplicate vertices before it.
Excellent, thanks! I will reinstall the latest build.
Great. Thanks for the bug report!
Hi Hugo and Ken,
I have prepair and pprepair integrated into a nice workflow on my system with postgis/postGRES, called out of a set of python scripts (I am happy to send these along if interested).
I am writing an updated script now, but have come across a segmentation fault with prepair.
Segmentation fault (core dumped)
Could you please advise what I am doing wrong here, or whether this geometry has something flawed (although geos tells me its valid).
Thanks!