[GRASS-user] error in example

Markus Neteler neteler at osgeo.org
Sun Feb 12 15:37:39 EST 2012


On Fri, Feb 10, 2012 at 7:23 PM, Paolo Cavallini <cavallini at faunalia.it> wrote:
> Hi all.
> I'm following the examples in:
> http://casoilresource.lawr.ucdavis.edu/drupal/node/438
> 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
> http://mirrors.ibiblio.org/grass/sampledata/spearfish_grass60data-0.3.tar.gz

Perhaps Dylan (author, in CC) has an idea?

Markus


More information about the grass-user mailing list