Hi Thanks Martin but It's not working. With the following command v.rast.stats -c -e --verbose vector=s...@permanent raster=se...@permanentcolprefix=stat
I'm getting this error: Adding columns ' stat_n INTEGER, stat_min DOUBLE PRECISION, stat_max DOUBLE PRECISION, stat_range DOUBLE PRECISION, stat_mean DOUBLE PRECISION, stat_stdde DOUBLE PRECISION, stat_varia DOUBLE PRECISION, stat_cf_va DOUBLE PRECISION, stat_sum DOUBLE PRECISION, stat_first DOUBLE PRECISION, stat_media DOUBLE PRECISION, stat_third DOUBLE PRECISION, stat_per90 DOUBLE PRECISION' C:/GRASS6/scripts/v.rast.stats: line 268: v.db.addcol: command not found ERROR: Cannot continue (problem adding columns). Why am I getting this? Or, what I have to do before I run v.rast.stat? Thanks Kat 2010/8/5 Martin Wegmann <[email protected]> > Hello, > > I think v.rast.stats is what you are looking for > > http://grass.itc.it/gdp/html_grass64/v.rast.stats.html > > regards, Martin > > On Donnerstag, 5. August 2010 18:25:37 katrin eggert wrote: > > Hello > > > > I have polygon layer which divides my image into several areas all > > contiguous. With the same size, I have a raster image. I want to: > > > > - calculate the most frequent value of the raster inside each polygon; > > > > - the maximum and minimum value inside each polygon > > > > How can this be done in GRASS? > > > > > > Thanks > > > > Katrin > > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
