Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
r.object.geometry calculates form statistics of raster objects in the input map and writes it to the output text file (or standard output if no output filename or '-' is given), 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. If the current working region is in lat-long or has non-square pixels, using meters is recommended.
Statistics currently calculated are exactly the same as in v.to.db (except for compact_square and mean coordinates):
g.region raster=soilsID r.object.geometry input=soilsID output=soils_geom.txt
Available at: r.object.geometry source code (history)
Latest change: Wednesday Mar 16 14:28:32 2022 in commit: 0f4f4b9af327502ad564363cbf5c8a8e41294bc3
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 8.2.2dev Reference Manual