#507 closed enhancement (wontfix)
CSV output option for r.report
Reported by: | dylan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 6.5.0 |
Component: | Raster | Version: | svn-develbranch6 |
Keywords: | r.report | Cc: | |
CPU: | All | Platform: | All |
Description
It would be convenient to have the option of printing out long reports from r.report in CSV format. A simple flag option could be used to signal CSV output. It looks like modification from here would do the trick. Could be as simple as using a variable for the spacer, and adding a check for printing the '......' between columns.
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
So does r.stats fill the need, or do you need to convert units of measure?
Hamish
comment:4 by , 6 years ago
While r.report
sums up to 100%, r.stats
approximates percents, thus the "total percent may not be 100%".
The question is: if r.report
is a wrapper around r.stats
, why aren't percentage
outputs, for the same region and queried maps, identical?
I posted about a similar question (with examples) in the mailing list:
Replying to dylan:
just use r.stats, that's all r.report does & parses into the more dot matrix printer friendly format.
One thing that r.report does that r.stats does not do is to convert the units of measure.
Hamish