<div class="gmail_quote">On Wed, Jan 18, 2012 at 4:07 PM, Rich Shepard <span dir="ltr"><<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a map with a couple of transect lines that intersect points on a<br>
separate map. I want to measure the distance from one end of each transect<br>
line to the point which it overlays. While I thought there was a v. module<br>
to do this, I'm not seeing it. If it's v.distance, I don't see how to apply<br>
that module to measuring a distance along one line interactively.<br><br></blockquote><div><br>Again, vectors are not my thing, but maybe you could include the end point into your vector and use v.to.db with option=length to get the distance along your line vector.<br>
<br>A raster solution to similar problems that you could maybe use somehow is to generate distance maps from target points, lines or areas and then extract the values of these maps through other vectors or using r.mapcalc.<br>
<br>I've used this solution in many different cases and it is very nice to see the distance maps. The procedure is described in the GRASS book as:<br><br>r.mapcalc area_one=1<br>r.cost -k in=area_one out=distance_to_something start_rast=something<br>
r.mapcalc approx_distance_in_meters=dist_to_something * (ewres() + nsres()) / 2.)"<br><br>Hope it gives you some insights.<br><br>Marcello.<br><br><br></div></div>