r.object.geometry calculates form statistics of raster objects in the input map and writes it to the output text file, with fields separated by the chosen separator. Objects are defined as clumps of adjacent cells with the same category value (e.g. output of r.clump or i.segment).
By default, values are in pixels. If values in meters is desired, the user can set the -m flag.
Statistics currently calculated are exactly the same as in v.to.db (except for compact_square):
g.region rast=soilsID r.object.geometry soilsID out=soils_geom
Last changed: $Date: 2016-05-31 00:01:21 +0200 (Tue, 31 May 2016) $