[GRASS-user] can r.in.xyz get input from STDIN?

Ken grass at kwasnicki.com
Thu Nov 30 17:57:47 EST 2006


i'm getting xyz data from the grass command prompt using a query like:
echo "select x,y,z from...." | db.select  > outfile.xyz

then reading into grass using:
r.in.xyz input=outfile.xyz ....

just wondering if i can do this in one step by piping my select output 
directly into r.in.xyz?

(i suppose i could just right a wrapper script to do this if i can't do 
it directly)

thanks!
ken




More information about the grass-user mailing list