Calculate Azimuth

Function Description: Calculate the clockwise azimuth angle (in degrees, range 0~360) between consecutive points in a specified point layer, where the direction is from the preceding point to the following point, relative to the true Y-axis. Supports field filtering.

Steps

  1. Click the Calculate Azimuth OpenPointCloud function to open the settings dialog.
OpenPointCloud
  • Parameter Description

    • Point Layer: The specified point layer.
    • Filter Field: Default is NULL.
      • If set to NULL, all points in the layer are treated as a single line, and azimuths are calculated sequentially between consecutive points.
      • If a specific field is selected, points with the same field value are grouped together, and azimuths are calculated within each group.
  • Click OK to perform the calculation.

OpenPointCloud

Data Example

  • Points are ordered from 1 to 16. Points 1–7 have "Line ID" = 0, and points 8–16 have "Line ID" = 1.

  • Results when Filter Field is set to NULL:

OpenPointCloud

Field Values with No Filtering

  • Results when Filter Field is set to "Line ID". Note the significant change in azimuth at Point 7:
OpenPointCloud

Field Values with "Line ID" Filtering

results matching ""

    No results matching ""