Will Leahy
2014-Jun-04 17:41 UTC
[R] Preserving topology when simplifying Spatial Polygons
I'm trying to simplify a group of adjacent polygons without gaps and line overlaps forming between them. Ideally I'd like results similar to what mapshaper produces. I've tried using gSimplify() (from rGEOS), thinnedSpatialPoly() (from maptools), and dp() (from shapefiles) but haven't been able to get good results. The first two have a "topologyPreserve" argument but it only applies to single polygons. Are there any other tools / methods for line simplification that I might try? Thanks [[alternative HTML version deleted]]
Marcus Schwemmle
2014-Jul-10 12:08 UTC
Re: Preserving topology when simplifying Spatial Polygons
Have you got any further with this? I have the same problem... On Wednesday, 4 June 2014 22:17:20 UTC+2, Will Leahy wrote:> > I'm trying to simplify a group of adjacent polygons without gaps and line > overlaps forming between them. Ideally I'd like results similar to what > mapshaper produces. I've tried using gSimplify() (from rGEOS), > thinnedSpatialPoly() (from maptools), and dp() (from shapefiles) but > haven't been able to get good results. The first two have a > "topologyPreserve" argument but it only applies to single polygons. Are > there any other tools / methods for line simplification that I might try? > Thanks > > [[alternative HTML version deleted]] > > ______________________________________________ > R-h...@r-project.org <javascript:> mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >