<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">I tried to install v.profile under GRASS 6.4.4 to see if it would work but it failed to compile.<br>
<br>
Michael<br>
<br>
Here are the errors<br>
<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
____________________<br>
C. Michael Barton<br>
Director, Center for Social Dynamics & Complexity <br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Head, Graduate Faculty in Complex Adaptive Systems Science<br>
Arizona State University<br>
<br>
voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)<br>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu">http://csdc.asu.edu</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
> On Nov 29, 2014, at 10:29 AM, Michael Barton <michael.barton@asu.edu> wrote:<br>
> <br>
> Hi Markus, <br>
> <br>
> What I'm trying to do is start with a raster stream map from r.drain and convert it to a sequence of vector points, where each point has information as to its position along the stream. I then use the points for sampling a stream profile and related information.
 Oddly enough, with all of the very useful stream analysis modules, there is nothing I could find to generate the data for a stream profile (distance from outlet or from headwaters vs. elevation).
<br>
> <br>
> v.to.points does a nice job of creating a sequence of evenly spaced points with information about their location along a line (the "along" field). BUT, if the line is composed of multiple segments or even if it has an irregularity in it, the "along" values
 start over again from 0. The only way I can use it is if I have a very clean and continuous vector line with only a single cat.
<br>
> <br>
> This has proven surprisingly difficult to obtain reliably from my raster stream map. So far, the only way has been to do a two sequences of v.clean (with thresholds 1.5 X the raster resolution) and v.build.polylines. If you have any better suggestion, I'd
 love to hear it.<br>
> <br>
> Thanks again for the polylines idea. That was a big help.<br>
> <br>
> Michael<br>
> ____________________<br>
> C. Michael Barton<br>
> Director, Center for Social Dynamics & Complexity <br>
> Professor of Anthropology, School of Human Evolution & Social Change<br>
> Head, Graduate Faculty in Complex Adaptive Systems Science<br>
> Arizona State University<br>
> <br>
> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)<br>
> www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu">http://csdc.asu.edu</a><br>
> <br>
> <br>
> <br>
> <br>
>> On Nov 29, 2014, at 10:20 AM, Michael Barton <Michael.Barton@asu.edu> wrote:<br>
>> <br>
>> Thanks. This helped.<br>
>> <br>
>> Michael<br>
>> ____________________<br>
>> C. Michael Barton<br>
>> Director, Center for Social Dynamics & Complexity <br>
>> Professor of Anthropology, School of Human Evolution & Social Change<br>
>> Head, Graduate Faculty in Complex Adaptive Systems Science<br>
>> Arizona State University<br>
>> <br>
>> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br>
>> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)<br>
>> www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a>,
<a href="http://csdc.asu.edu">http://csdc.asu.edu</a><br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>>> On Nov 29, 2014, at 1:23 AM, Markus Neteler <neteler@osgeo.org> wrote:<br>
>>> <br>
>>> On Sat, Nov 29, 2014 at 6:16 AM, Michael Barton <Michael.Barton@asu.edu> wrote:<br>
>>>> I have a vector line that is divided into 12 cat values. I’d like all of the<br>
>>>> line to have a single cat value. I’ve tried v.category to no avail. If I<br>
>>>> delete all categories and then add new categories, I get 12 cats again. And<br>
>>>> I can find no other way to get a single cat for the entire line. Hopefully<br>
>>>> someone can tell what I’m missing here.<br>
>>> <br>
>>> Please try to use<br>
>>> <a href="http://grass.osgeo.org/grass70/manuals/v.build.polylines.html">http://grass.osgeo.org/grass70/manuals/v.build.polylines.html</a><br>
>>> <br>
>>> Markus<br>
>> <br>
> <br>
<br>
</div>
</span></font></div>
</body>
</html>