[R-sig-Geo] !SPAM: Re: merging polygons from two shapefiles and generating new polygons for intersecting areas

Edzer Pebesma edzer.pebesma at uni-muenster.de
Wed Nov 17 13:55:02 CET 2010


Colin, given two SpatialPolygonsDataFrame objects a and b, how do I get
the SpatialPolygonsDataFrame with the polygon-polygon overlay? Using the
original poster phrasing, how do I merge these two?

Best regards,

On 11/14/2010 09:53 AM, rundel wrote:
> 
> You should be able to achieve all of this using the rgeos package, it has
> functionality to create new polygons based on the intersection, union, etc
> of other polygons. 
> 
> Currently you can download the source from r-forge and install the package
> manually, but it will also be available on cran in the very near future. If
> you run into any difficulties or have questions, please let me know.
> 
> -Colin

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list