Hello Charlie,<div><br></div><div>You could use the flag -o and method=downstream (which is the default method) with r.stream.distance to get two raster maps with distances and elevations to the outlet.</div><div><br></div><div>You should use v.points on the stream_vect map you obtained with r.stream.extract so you could then upload this distances and elevation values to the points stream vector map using v.what.rast.</div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">Then you could go to R and read that vector map using the spgrass6 readVECT6 function and then perform your analysis in R.</span><br></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">That's what I've done before, I'm hoping this could help you and looking forward to other implementations that doesn't need to go to R.</span></div><div><br></div><div><br></div><br><div class="gmail_quote">El Tue Nov 04 2014 at 10:53:46 a. m., Charlie Shobe <<a href="mailto:Charles.Shobe@colorado.edu">Charles.Shobe@colorado.edu</a>> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am trying to extract longitudinal stream profiles for stream channels (running 6.4.4 on OSX 10.9.5), and am curious if anyone has done this before and has any hints about what an efficient workflow would be.</div><div><br></div><div>My thought is to use r.streams.extract and r.streams distance, which should enable me to gather the required information. The one question I have is how to allow a user to choose the upper end of a channel, and have GRASS separate the information for that entire stream profile (from the selected point down to the outlet) into a new vector file.</div><div><br></div><div>I'd really appreciate it if anyone has done this in the past-- I can't find much information related to this type of analysis online.</div><div><br></div><div>Thanks,</div><div><br></div><div>Charlie</div></div>
______________________________<u></u>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/grass-user</a></blockquote></div>