<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 7, 2015 at 11:02 AM, Stuart Edwards <span dir="ltr"><<a href="mailto:sedwards2@cinci.rr.com" target="_blank">sedwards2@cinci.rr.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi -<br>
<br>
Great to see that r.profile is now working so well - at least in interactive mode through the wxgui profile tool.  However, I'm having problems using r.profile directly where I use a table of vector points to define the profile.  r.profile reads the vector file and computes the transect lengths, but does not appear to query the raster map at each point - or if it does, the results are not printed.  Interactively, the raster map (DEM) works well as the subject map for analysis.  Here's what is returned from r.profile:<br>
<br>
r.profile input=DEM@mymaps output=profilepoints.csv file=pipe_sp.csv resolution=10 units=feet<br>
Using resolution: 32.8084 [feet]<br>
Output columns:<br>
Along track dist. [feet], Elevation<br>
Approx. transect length: 951.007507 [feet]<br>
Approx. transect length: 1598.138340 [feet]<br>
Approx. transect length: 709.834684 [feet]<br>
Approx. transect length: 2040.197805 [feet]<br>
Approx. transect length: 113.646183 [feet]<br>
Approx. transect length: 259.883910 [feet]<br>
Approx. transect length: 333.752161 [feet]<br>
Approx. transect length: 871.612186 [feet]<br></blockquote><div><br></div><div>You specified output file, so the profile elevation should be written into that file profilepoints.csv. The rest of the output you see are only messages. If you don't specify output parameter, you get the entire profile on the standard output.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
a minor problem is that even when the units are specified as 'feet', the resolution is read as 'meters'.  Easy to work around - but could be confusing if not noticed.<br></blockquote><div><br></div><div>thanks for noticing, I will look into it </div><div><br></div><div>Anna</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Any assistance much appreciated.<br>
<br>
Stu<br>
<br>
GRASS 7.0.0 64 bit  2015-01-20 (Barton Binaries)<br>
Mac OS X 10.10.3<br>
MacBookPro 2014<br>
<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div></div>