Skip to content
Prev 2663 / 29559 Next

overlay polygons (from shp) and raster (from geotif)

On Tue, 23 Oct 2007, Agustin Lobo wrote:

            
There are facilities in sp for this - to make SpatialPolygons from 
SpatialPixels.
This would possibly involve using gpclib directly - there is code in 
maptools for going between SpatialPolygons and the gpclib representation, 
but it is still inside functions.
There is no polygon/polygon overlay method in sp - you'd need to keep 
track of which polygon is which in step 2.

I think I still prefer resampling a in a GIS to a higher resolution and 
using what exists.

Roger