I am running GRASS 6.4.1 through R 2.13.1 on Windows XP and I need to obtain
cell frequency counts from a categorical raster based on a polygon vector.
If v.rast.stats is out of commission, what other options can people
recommend?
I am running GRASS 6.4.1 through R 2.13.1 on Windows XP and I need to obtain
cell frequency counts from a categorical raster based on a polygon vector.
Please update to 6.4.2, using the latest of the nightly builds [0]
I wouldn't say that for sure. My best advice is to try it for
yourself and see if it works or not. As per the ticket, you
might try it a few times if it fails at first. Please report
your experiences successful or not to the bug report.
If v.rast.stats is out of commission, what other options
can people recommend?
since v.rast.stats is just a shell script combining a number
of other GRASS modules, you could always just run the individual
commands by hand:
My best advice is to try it for yourself and see if it works or not.
I did using 6.4.1 and got the error message reported by others:
C:/GRASS-64-SVN/scripts/v.rast.stats: line 268: v.db.addcol: command not
found
ERROR: Cannot continue (problem adding columns).
since v.rast.stats is just a shell script combining a number of other
GRASS modules, you could always just run the individual commands by hand
I am currently evaluating this as an alternative, though I am also batch
scripting through R and new to GRASS, so... In the meantime...
Please update to 6.4.2, using the latest of the nightly builds [0]
I updated to the latest nightly build (WinGRASS-6.4.SVN-r47756-1) and
resubmitted my job through R 2.13.1 (using spgrass6), and this time I get
the following error message:
Error in system(cmd0, intern = TRUE) : 'v.rast.stats.exe' not found
Error in parseGRASS(cmd) : v.rast.stats not found
The script is indeed there, but I am not familiar enough with the inner
workings of GRASS to speculate on where the executable comes in.... Has
v.rast.stats been temporarily disabled in WinGRASS or is this something new?