RE: [GRASS-user] r.out.ascii in tabular format

I usually use r.stats for this:

r.stats -1ng input=elf1 output=elf1.xyz

# Then use awk to insert a header

awk 'BEGIN {print "x y z"} {print $1, $2, $3}' elf1.xyz > elf1_header.xyz

~ Eric.

-----Original Message-----
From: grassuser-bounces@grass.itc.it
To: grassuser@grass.itc.it
Sent: 9/27/2006 3:23 PM
Subject: [GRASS-user] r.out.ascii in tabular format

hello

r.out.ascii input=elf1 output=- > elf1.xyz

how can I get r.out.ascii in tabular format like this:

x y z
-- -- --
. . .
. . .

regards

--
Ahmet Temiz

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser