#1929 closed enhancement (fixed)
make r.report CSV/spreadsheet ready
Reported by: | timmie | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.3 |
Component: | Raster | Version: | unspecified |
Keywords: | r.report, r.stats | Cc: | |
CPU: | Unspecified | Platform: | All |
Description
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 "."
Change History (4)
follow-up: 3 comment:1 by , 12 years ago
Keywords: | r.report r.stats added |
---|---|
Type: | defect → enhancement |
comment:2 by , 12 years ago
Milestone: | 7.0.0 → 6.4.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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"
done in all branches.
Hamish
follow-up: 4 comment:3 by , 12 years ago
Replying to 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.
comment:4 by , 12 years ago
Replying to 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.
Hamish
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)
Hamish