Skip to main content
added 204 characters in body
Source Link
Mat
  • 1.6k
  • 1
  • 9
  • 19

To get line angle you can use field calculator depending what exactly you need:

  • line_interpolate_angle(geometry,distance)
  • angle_at_vertex(geometry,vertex)

For more details check help in field calculator: enter image description here

Result is in degrees (north origin), to convert it in grads you need to multiply by (400/360). So field calculator expression would be something like: line_interpolate_angle($geometry,0) * (400 / 360).

Since you need angle originating from east you will need to add 90°: (line_interpolate_angle($geometry,0)+90 )* (400 / 360) and substract 400 for features that have value above 400g.

To get line angle you can use field calculator depending what exactly you need:

  • line_interpolate_angle(geometry,distance)
  • angle_at_vertex(geometry,vertex)

For more details check help in field calculator: enter image description here

Result is in degrees, to convert it in grads you need to multiply by (400/360). So field calculator expression would be something like: line_interpolate_angle($geometry,0) * (400 / 360)

To get line angle you can use field calculator depending what exactly you need:

  • line_interpolate_angle(geometry,distance)
  • angle_at_vertex(geometry,vertex)

For more details check help in field calculator: enter image description here

Result is in degrees (north origin), to convert it in grads you need to multiply by (400/360). So field calculator expression would be something like: line_interpolate_angle($geometry,0) * (400 / 360).

Since you need angle originating from east you will need to add 90°: (line_interpolate_angle($geometry,0)+90 )* (400 / 360) and substract 400 for features that have value above 400g.

Source Link
Mat
  • 1.6k
  • 1
  • 9
  • 19

To get line angle you can use field calculator depending what exactly you need:

  • line_interpolate_angle(geometry,distance)
  • angle_at_vertex(geometry,vertex)

For more details check help in field calculator: enter image description here

Result is in degrees, to convert it in grads you need to multiply by (400/360). So field calculator expression would be something like: line_interpolate_angle($geometry,0) * (400 / 360)