Skip to content
Prev 17860 / 29559 Next

Slivers in thinned spatial polygon

Dear list,

while trying to simplify a SpatialPolygons object by means of the
thinnedSpatialPoly function of the maptools package, I've encountered
the following problem.

As far as I understand things, setting the topologyPreserve option to
TRUE should allow one to avoid slivers. However, when I use the
function in this way, this does not seem to happen: see for instance
the graph produced by the following example session.
Loading required package: maptools
Loading required package: foreign
Loading required package: sp
Loading required package: grid
Loading required package: lattice
Checking rgeos availability: TRUE
Loading required package: maps
+                               topologyPreserve = TRUE)
Loading required package: rgeos
rgeos: (SVN revision 360)
 GEOS runtime version: 3.3.5-CAPI-1.7.5
 Polygon checking: TRUE
I'm not sure whether I'm just missing something obvious. Any help
would be much appreciated.

Best wishes,

Kurt