[R-sig-Geo] Vector to raster?

Paul Hiemstra p.hiemstra at geo.uu.nl
Sat Feb 14 22:07:10 CET 2009


Jonathan Greenberg schreef:
> How do I take a polygon in some OGR supported vector layer (say, a 
> shapefile), and rasterize it given a pixel size and projection/datum?
>
> --j
>
Take a look at the spsample() function.

Paul

-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:     +31302535773
Fax:    +31302531145
http://intamap.geo.uu.nl/~paul



More information about the R-sig-Geo mailing list