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

Patton, Eric epatton at nrcan.gc.ca
Wed Sep 27 08:40:17 EDT 2006


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 at grass.itc.it
To: grassuser at 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 at grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list