Re: [R-sig-Geo] Vector to raster conversion...

2009-02-02 Thread Robert Hijmans
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

Re: [R-sig-Geo] help

2009-02-02 Thread Robert Hijmans
I think you have to loop over time ( "i" in your case, which presumably is a variable in your environment ). something like: for (i in 1:length(dat[1,1,])) { vz<-as.vector(dat[,,i]) oz<-interpp(vx,vy,vz,ox,oy,linear=TRUE) Kolkata[i]<-oz$z } On Mon, Feb 2, 2009 at 5:38 PM, Anwesha Cha

[R-sig-Geo] help

2009-02-02 Thread Anwesha Chakrabarti
hi; i just started using R and need to do the following. i want to plot weather data (which is in a .netCDF file). i was trying to plot some climate data for westbengal region and then i tried to interpolate the data for kolkata (which will be a subset of the oroginal data for westbengal). i tried

[R-sig-Geo] Personal invitation from srinivasa raghavan

2009-02-02 Thread srinivasa raghavan
Personal invitation from srinivasa raghavan [[alternative HTML version deleted]] ___ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo