Re: [R-sig-Geo] Polygon to raster?

2009-08-03 Thread Tomislav Hengl
urs)) > hist(contours.dist$band1, col="grey") ... HTH T. Hengl http://spatial-analyst.net/wiki/index.php?title=Grid_size_calculator > -Original Message- > From: r-sig-geo-boun...@stat.math.ethz.ch > [mailto:r-sig-geo-boun...@stat.math.ethz.ch] On Behalf > Of

Re: [R-sig-Geo] Polygon to raster?

2009-08-02 Thread Barry Rowlingson
On Sun, Aug 2, 2009 at 7:26 PM, Jonathan Greenberg wrote: > I'm trying to hunt down a function that will take a polygon (derived from a > shapefile) and "rasterize" it at a given pixel resolution -- any hints? You could plot it to a png graphics device: require(rgdal) require(sp) myPolygon =

[R-sig-Geo] Polygon to raster?

2009-08-02 Thread Jonathan Greenberg
I'm trying to hunt down a function that will take a polygon (derived from a shapefile) and "rasterize" it at a given pixel resolution -- any hints? --j -- Jonathan A. Greenberg, PhD Postdoctoral Scholar Center for Spatial Technologies and Remote Sensing (CSTARS) University of California, Davi