#1929: make r.report CSV/spreadsheet ready
-------------------------+--------------------------------------------------
Reporter: timmie | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: unspecified
Keywords: | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
r.report shall have an option to be reformated in a way that it could be
easy further processed:
* separators such as ";" or ","
* remove all header & footer
* remove all unnecessary "|" and "."
Hi Hamish, Just a suggestion, but I think it would be useful if this is added to the description section of r.report; something like: “If you want a computer-friendly output, e.g., for use with calc, use r.stasts”
···
On Wed, Apr 17, 2013 at 3:48 PM, GRASS GIS <trac@osgeo.org> wrote:
#1929: make r.report CSV/spreadsheet ready
-------------------------------±-------------------------------------------
Reporter: timmie | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: unspecified
Keywords: r.report, r.stats | Platform: All
Cpu: Unspecified |
-------------------------------±-------------------------------------------
Changes (by hamish):
keywords: => r.report, r.stats
type: defect => enhancement
Comment:
Hi,
Perhaps r.stats has what you want? (r.report is largely a wrapper which
prints the computer-friendly results of r.stats in a human-friendly way)
Paulo wrote:
> Hi Hamish, Just a suggestion, but I think it would be useful if this
> is added to the description section of r.report; something like: "If
> you want a computer-friendly output, e.g., for use with calc, use
r.stasts"
Replying to [comment:1 hamish]:
> Perhaps r.stats has what you want? (r.report is largely a wrapper which
prints the computer-friendly results of r.stats in a human-friendly way)
Thanks for the pointer.
In r.stats I miss:
* header for fields (columns)
* units
And its really difficult to get a similar output as in r.report.
Replying to [comment:3 timmie]:
> In r.stats I miss:
> * header for fields (columns)
> * units
>
> And its really difficult to get a similar output as in r.report.
feel free to rename the ticket and reopen it against r.stats for those if
you like.
Luckily area in sq-m like r.stats gives is very easy to convert to hectare
or sq-km.
my only concern about unit conversions is that r.stats is already quite
complicated
for a low-level tool.