[R-sig-Geo] densify geometries
englishchristophera at gmail.com
Fri Aug 7 07:23:14 CEST 2015
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 reducing
rather than densifying but there many be an opportunity to inject arbitrary
'between' points to densify
On Thu, Aug 6, 2015 at 11:10 PM, Michael Sumner <mdsumner at gmail.com> wrote:
> 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 standard task
> for reprojection in traditional GIS. Ultimately I would implement a
> "minimum distance" option as well, just wondering if this is already out
> there somewhere.
> I know there are partial pieces of this, for instance in
> raster::rasterToPolygons and rgeos::gDistance - are there others? - but I
> want more control.
> Cheers, Mike.
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
[[alternative HTML version deleted]]
More information about the R-sig-Geo