Skip to content
Back to formatted view

Raw Message

Message-ID: <55551833.7030307@nancy.inra.fr>
Date: 2015-05-14T21:48:35Z
From: Jean-Luc Dupouey
Subject: gIntersection versus intersect

For intersecting two polygon layers, is there any advantage of using 
gIntersection (from the rgeos package) instead of intersect (from the 
raster package)? After a few tests, it appears that intersect is a 
little bit faster. Moreover, intersect automatically calculates the 
associated dataframe, while gIntersection leaves the user making it.

Thanks for your awer(s).

Jean-Luc