[R-sig-Geo] planar polygon partition patching program

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Sun Jan 22 16:57:40 CET 2012


Having been bitten this week by a couple of shapefiles with broken
geometry, I did a bit of searching for code that can fix up these kind
of errors - you know, where adjacent polygons aren't quite adjacent,
or there's slivers or other junk.

 I found this C++ implementation:

http://www.gdmc.nl:8000/pprepair

which looks quite capable. Anyone interesting in hooking it up to
SpatialPolygons?

There's a python implementation of something similar mentioned here:

http://www.isprs.org/proceedings/XXXVIII/part2/Papers/24_Paper.pdf

but I think I might just leave that to my QGIS colleagues....

Barry



More information about the R-sig-Geo mailing list