[GRASSLIST:9316] Re: draw line from (x,y) point and bearing [solved: new module]

Hamish hamish_nospam at yahoo.com
Mon Dec 5 19:27:33 EST 2005


> Maybe a better idea is to make this function a flag of r.transect. Or
> even better, merge r.transect and r.profile, and make the vector
> output line a flag. What do you think?

fyi, r.transect is already just a simple frontend to r.profile.

You can use the -g flag to get geographic coordinates (which can be fed
into v.in.ascii, either as points or form a line from the verticies*),
and the -c flag to get a GRASSRGB column for filling color (or other
thematic use).

[*] see v.in.garmin script

Make the segment distance longer than your line length, and you get end
point coordinates from a dist,azimuth. (?)


Hamish




More information about the grass-user mailing list