Skip to content
Prev 4959 / 29559 Next

Vector to raster conversion...

Dear Jonathan,

The raster package (under development at R-forge) has pointsToRaster,
linesToRaster and polygonsToRaster. The latter function takes an sp
polygons object and a raster RasterLayer of any resolution. It should
handle polygon holes (if they are flagged as such in the sp polygons
object). Roger pointed out last week that it would be good to compare
the results of the algorithm in raster with that of starspan. Even if
the results were the same, there is a lot to say for a C based
algorithm. Particularly if it can do row by row (or other blocks)
processing at a higher speed. I would be interested in using that in
the raster package and please contact me directly about that if you
wish.

Robert
On Sat, Jan 31, 2009 at 12:43 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote: