Just save this as a .csv or .txt and open in any spreadsheet software,
stating that the field delimiter is |
Then just do some column copy/paste and you are done. No need for awk
black-magic
Daniel
On Wed, Feb 25, 2009 at 3:51 AM, maning sambale
emmanuel.samb...@gmail.com wrote:
Thanks!
An
On Thu, 2009-02-26 at 09:34 -0300, Daniel Victoria wrote:
Just save this as a .csv or .txt and open in any spreadsheet software,
stating that the field delimiter is |
Then just do some column copy/paste and you are done. No need for awk
black-magic
Daniel
:DD
I agree. But implementing
On Wed, Feb 25, 2009 at 1:39 AM, Giovanni Pasini jynx...@gmail.com wrote:
maning sambale wrote:
Thanks!
An example of the r.report output:
|-|
| Category Information | | cell|
Hi,
Looking for tips in transforming r.report output into a
spreadsheet like format.
--
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
Maning,
Depends on what you are doing with r.report, but you can often use r.stats
instead, to output a csv file (look at docs for r.stats if you want percent
or cell counts, my example assumes area counts).
r.stats -an fs=, input=raster1,raster2
If you need to do a unit conversion ie m^2 to
maning sambale ha scritto:
Hi,
Looking for tips in transforming r.report output into a
spreadsheet like format.
Hi,
I use awk (change NF and the other fields $*):
r.report -n map=gri_1000_in,dem2_idw_100_slope_rec units=h,p,c | awk
'BEGIN {FS=|;OFS=|} !/---/ NF==7 {intest=$2} NF==8
Thanks!
An example of the r.report output:
|-|
| Category Information | | cell| % |
| #|description | hectares|count| cover|
] convert r.report output to spreadsheet format
To: grass mailing list grass-user@lists.osgeo.org
Date: Wednesday, 25 February, 2009, 7:51 AM
Thanks!
An example of the r.report output:
|-|
| Category