
If you work with large shapes/grids, try also SAGA:

> rsaga.get.usage(lib="grid_gridding", 3)
SAGA CMD 2.0.3
library path:   C:/Progra~1/saga_vc/modules
library name:   grid_gridding
module name :   Shapes to Grid
...

But before SAGA, you need to reproject the polygons first (if necessary).

see also some examples from:
http://spatial-analyst.net/wiki/index.php?title=Export_maps_to_GE#Polygon_maps

HTH

Tom Hengl

-----Original Message-----
From: r-sig-geo-bounces@stat.math.ethz.ch on behalf of Paul Hiemstra
Sent: Sat 2/14/2009 10:07 PM
To: Jonathan Greenberg
Cc: r-sig-geo@stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Vector to raster?
 
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

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


	[[alternative HTML version deleted]]

