[R] problems with overlay of raster!
Carolin
caroline.judith at ymail.com
Fri Jun 22 16:00:05 CEST 2012
Hi,
I am trying to overlay to raster but I always got this warning message:
> test<-overlay(raster1,raster2,fun=function(x,y){x*y})
Warning message:
In x * y : longer object length is not a multiple of shorter object length
Here are the general information about my raster layer
raster1
class : RasterLayer
dimensions : 421, 465, 195765 (nrow, ncol, ncell)
resolution : 0.0002727273, 0.0002727273 (x, y)
extent : -71.23787, -71.11105, 8.530567, 8.645386 (xmin, xmax, ymin,
ymax)
coord. ref. : NA
values : C:\Users\Khaeg\Desktop\5Zonen1206020\rr3.asc
layer name : rr3
min value : -2147483648
max value : 2147483647
raster2
class : RasterLayer
dimensions : 341, 391, 133331 (nrow, ncol, ncell)
resolution : 0.000272, 0.000272 (x, y)
extent : -71.22967, -71.12332, 8.542734, 8.635486 (xmin, xmax, ymin,
ymax)
coord. ref. : NA
values : C:\Users\Khaeg\Desktop\5Zonen1206020\class_agg.asc
layer name : class_agg
min value : -2147483648
max value : 2147483647
I do not have much experience in using R that’s why I would really
appreciate your help.
Thank you!
--
View this message in context: http://r.789695.n4.nabble.com/problems-with-overlay-of-raster-tp4634208.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list