Skip to content

Dissolve polygon

1 message · Barry Rowlingson

#
On Fri, Jul 20, 2012 at 8:40 PM, C?line Bellard
<bellard.celine at gmail.com> wrote:
Looks like you have 10945 features in your shapefile...

 The extract function in the raster package will process pixels under
polygons. In this example, I sum a pollution raster over each lake
("Lake Exposure", about half-way down)

http://www.maths.lancs.ac.uk/~rowlings/Teaching/UseR2012/plume.html

 You probably want something like the mean or the max of the pixels
over each island. In your case, you should end up with 10945 values.

Barry