[GRASS-dev] [GRASS GIS] #507: CSV output option for r.report

#507: CSV output option for r.report
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: grass-dev@lists.osgeo.org
     Type: enhancement | Status: new
Priority: minor | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Keywords: r.report | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------
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
[http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/raster/r.report/prt_report.c#L156
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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/507&gt;
GRASS GIS <http://grass.osgeo.org>

#507: CSV output option for r.report
--------------------------+-------------------------------------------------
  Reporter: dylan | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords: r.report
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

Replying to [ticket:507 dylan]:
> It would be convenient to have the option of printing out
> long reports from r.report in CSV format.

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

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/507#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#507: CSV output option for r.report
--------------------------+-------------------------------------------------
  Reporter: dylan | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords: r.report
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

So does r.stats fill the need, or do you need to convert units of measure?

Hamish

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/507#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

On Wed, Apr 15, 2009 at 11:02 PM, GRASS GIS <trac@osgeo.org> wrote:

#507: CSV output option for r.report
--------------------------+-------------------------------------------------
Reporter: dylan | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: minor | Milestone: 6.5.0
Component: Raster | Version: svn-develbranch6
Resolution: | Keywords: r.report
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

So does r.stats fill the need, or do you need to convert units of measure?

Hamish

r.stats should be sufficient. Thanks.

Dylan