[GRASS-user] error in example

Paolo Cavallini cavallini at faunalia.it
Fri Feb 10 13:23:25 EST 2012

Hi all.
I'm following the examples in:
but I get an error in:
new_data <- SpatialGridDataFrame(grd, data=data.frame(k=rep(1,G$cols*G$rows)),
proj4string=CRS(x at proj4string@projargs))

Error in validityMethod(object) :
  unequal number of objects in full grid and data slot

Any hint?
Thanks a lot.

BTW: the link to sample data should be changed to

Paolo Cavallini - Faunalia
Full contact details at www.faunalia.eu/pc

More information about the grass-user mailing list