[R-sig-Geo] Clipping raster by polygon

Robert J. Hijmans r.hijmans at gmail.com
Wed Jul 17 19:02:12 CEST 2013


Joseph, Perhaps you can use raster function crop, perhaps followed by
mask. Robert


On Wed, Jul 17, 2013 at 8:31 AM, Joseph Miller <jemiller31 at gmail.com> wrote:
> Hello-
>
> I am trying to clip a raster with a Spatial Polygons Data Frame (esri
> shapefile).  I reviewed the rgeos package documentation but could not find
> an adequate tool to do this.  Suggestions?
>
> Thanks,
> Joseph
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



More information about the R-sig-Geo mailing list