[GRASSLIST:7474] need help in concatenating commands

Massimiliano Cannata massimiliano.cannata at supsi.ch
Wed Jul 6 10:38:52 EDT 2005


Hello,
I just need help in concatenating commands...
I build a command that, given a East and North coordinate scan a raster 
finding the nearest cell with value majon than a treshold...
 > r.nearest.coor input=accum100a threshold=500 radius=20 
easting=692019.11712163 northing=119228.853597
this is the output of the command....
 > easting=690796.625000 northing=119081.002604
I want now call the r.watershed.outlet.... concatenating this output...
 > r.water.outlet drainage=drainage100 basin=mybasin (easting=...... 
northing=........)

if I run:
 > r.nearest.coor input=accum100a threshold=500 radius=20 
easting=692019.11712163 northing=119228.853597 | r.water.outlet 
drainage=drainage100 basin=a7642899097zzoo

I have the message that r.water.outlet need easting and northing 
parameters......

What to do?
Thanks


-- 
-----------------------------------------------------
Massimiliano Cannata
Environmental & Geomatic Engineer

Institute of Earth Scences - SUPSI
Trevano, C.P. 72, CH-6952 Canobbio, SWITZERLAND
Tel: +41 (0)58 / 666 62 18  Fax: +41 (0)58 / 666 62 09
massimiliano.cannata at supsi.ch, www.supsi.ch
-------------------------------------------------------




More information about the grass-user mailing list