geosphere functions makeLine and makePoly do this, but only for
lon/lat, not for planar coordinates.
Robert
On Fri, Aug 7, 2015 at 6:30 AM, Michael Sumner mdsum...@gmail.com wrote:
This is a nice idea with gBuffer, but testing on a simple case shows you
need explicit curvature to get any extra
This is a nice idea with gBuffer, but testing on a simple case shows you
need explicit curvature to get any extra verts.
library(rgeos)
library(raster) ## just for the cheat's polygon creator
x - as(extent(0, 1, 0, 1), SpatialPolygons)
plot(as(as(gBuffer(x, width = 0.1, quadsegs = 55),
Hello, is there any existing function in the Spatial family in R to
densify geometries?
I'd like to be able specify the insertion of redundant vertices for all
individual segments within a Line* or Polygon*. I've done a bit myself but
wondering if this already exists somewhere. This is a pretty
Mike,
I use rgeos::gBuffer for polygons akin to what you're seeking. Looking at
the implementation of the
quadsegs argument might aid you. Don't know what to suggest for lines
though I'm thinking the
aggregation process in Trajectories might be of use. I realize that
aggregation suggests