[GRASS-user] Drawing a vector line with bearing/distance

Hello,

I am extracting cross-sections from raster maps using r.transect (E,N, azimuth, distance).
I would like to create maps where I can show where those xsections are taken using a vector line.
It seems that v.edit only works with absolute coordinates, not bearing and distance.
Is there a way to draw vector lines using starting coordinates, azimuth and distance?

Regards,

Laurent

Laurent C. wrote

Hello,

I am extracting cross-sections from raster maps using r.transect (E,N,
azimuth, distance).
I would like to create maps where I can show where those xsections are
taken using a vector line.
It seems that v.edit only works with absolute coordinates, not bearing and
distance.
Is there a way to draw vector lines using starting coordinates, azimuth
and
distance?

maybe

m.cogo - A simple utility for converting bearing and distance measurements
to coordinates and vice versa.
It assumes a cartesian coordinate system

https://grass.osgeo.org/grass74/manuals/m.cogo.html

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

Thank you Helmut.
As I understand, m.cogo works only for geographical coordinates.
Since I am using a projected location, I just calculated the new coordinates using basic trigonometry. It short distances, so I guess that is alright.

Laurent

Le mer. 17 oct. 2018 à 13:40, Helmut Kudrnovsky <hellik@web.de> a écrit :

Laurent C. wrote

Hello,

I am extracting cross-sections from raster maps using r.transect (E,N,
azimuth, distance).
I would like to create maps where I can show where those xsections are
taken using a vector line.
It seems that v.edit only works with absolute coordinates, not bearing and
distance.
Is there a way to draw vector lines using starting coordinates, azimuth
and
distance?

maybe

m.cogo - A simple utility for converting bearing and distance measurements
to coordinates and vice versa.
It assumes a cartesian coordinate system

https://grass.osgeo.org/grass74/manuals/m.cogo.html


best regards
Helmut

Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user