[GRASS-user] Piping the output of one grass command to another...

I'd like to pipe the output of r.in.xyz -s -g to g.region -- how do I do this via command line?

--j

--

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn307@hotmail.com, Gchat: jgrn307

By the way, I tried to do:

r.in.xyz -s -g [other parameters] | g.region

...but it didn't seem to change any of the region settings when I do a g.region -p

--j

Jonathan Greenberg wrote:

I'd like to pipe the output of r.in.xyz -s -g to g.region -- how do I do this via command line?

--j

--

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn307@hotmail.com, Gchat: jgrn307

Jonathan Greenberg wrote:

I'd like to pipe the output of r.in.xyz -s -g to g.region -- how do I do
this via command line?

  eval g.region `r.in.xyz -s -g ...`

--
Glynn Clements <glynn@gclements.plus.com>

JG:

I'd like to pipe the output of r.in.xyz -s -g to
g.region -- how do I do this via command line?

see http://trac.osgeo.org/grass/browser/grass-addons/raster/r.in.xyz.auto

mind the resolution settings!

Hamish