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

Dylan Beaudette dylan.beaudette at gmail.com
Mon Dec 5 12:23:08 EST 2005


On Dec 4, 2005, at 8:01 PM, Hamish wrote:

>>> does anyone know of a module (d.*, v.*, r.* ??) that will accept a
>>> point and a bearing, and draw the line on the active monitor?
> ..
>> Looks like necessity is the mother of invention. Solved this problem
>> with a shiny new module d.bearing:
>>
>> The new module solves the problem I had (plot a transect from x,y
>> along bearing theta, to given radius) and will optionally save the
>> result as a new vector.
>
> It's quite nice when you can make modules to do exactly what you need
> done... but fyi, see also:
>
> d.geodesic
> d.rhumbline
> r.profile
> r.transect
> d.mapgraph (hopefully merged into d.graph soon)
> v.in.ascii format=standard
>
> (and as mentioned m.cogo from GRASS 5)
>
>
> Hamish
>

Thanks for the head up on this. I had researched using v.out.ascii, 
d.mapgraph , awk, and finally v.in.ascii all wrapped in a BASH 
script... but it seemed a little cumbersome for the work I am doing. If 
d.bearing is has too much overlap with other modules, then I will post 
it on the GRASS Wiki for curious users. Or perhaps, some additional 
functionality or consolidation of functionality would be best.

Cheers,

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list