[GRASS-user] measuring distance along a line

Hamish hamish_nospam at yahoo.com
Wed May 16 23:07:53 EDT 2007

Michael Barton wrote:
> Something that just struck me. You might well be able to get some
> reasonabley accurate information on this simply by running r.profile.
> It will output cumulative distance along a line--specified by a series
> of xy points--along with the value of a raster (e.g., elevation) at
> each point.

will that only give you a final distance as a multiple of the res= option?

(use the SWIG* ... G_begin_distance_calculations() + G_distance() )

[*] first we have to make it work.. continued on the -dev list


More information about the grass-user mailing list