NiVO / BY TECHNOGISGermany · Indonesia
Drone technology

Convert a scanner range, azimuth, and elevation into Cartesian coordinates — Open rectangular block

Convert a scanner range, azimuth, and elevation into Cartesian coordinates — a worked case for open rectangular block, with explicit data, a sensitivity comparison and an independent.

Convert a scanner range, azimuth, and elevation into Cartesian coordinates — Open rectangular block

The measurement question

A range and two angles describe a point only after their axis and angle conventions are known. In an illustrative mathematical convention, azimuth is counterclockwise from positive x and elevation is above the xy plane. A 100 m range at azimuth 30 degrees and elevation −45 degrees becomes approximately (61.237,35.355,−70.711) m. These are scanner-frame coordinates, not map coordinates. A practical georeferencing chain still applies the scanner-to-platform rotation, lever arm, platform attitude, and trajectory position. Many instruments define azimuth or vertical angle differently, so copying an otherwise correct spherical conversion into a decoder without inspecting the convention can mirror or rotate the cloud.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

The block has clear edges and an accessible perimeter. The initial dataset is deliberately simple so that a discrepancy can be traced to one input rather than hidden by complex geometry. Place the independent reference outside the adjustment set and record whether the reference represents bare ground or the visible surface.

Use a complete boundary walk and a small independently measured patch to test the assumptions. A neat rectangular footprint is not evidence that every part of the block has usable observations.

Velodyne lidar scanner photographed as laser-ranging hardware
Velodyne lidar scanner photographed as laser-ranging hardware.Source: Steve Jurvetson · CC BY 2.0

Reproduce the numerical check

Illustrative input data: Range (range_m) = 100 m; Elevation above xy plane (elevation) = -45 degrees; Counterclockwise azimuth from+x (azimuth) = 30 degrees.

Calculation: range_m*cos(radians(elevation))*cos(radians(azimuth)).

Scanner-frame Cartesian x coordinate = 61.237244 m.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only counterclockwise azimuth from+x (azimuth) from 30 to 33 degrees. Re-evaluating the same equation gives scanner-frame cartesian x coordinate = 59.302965 m. The arithmetic difference from the baseline is -1.934279 m.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

Write down angle origins, directions, units, and frame handedness before decoding range observations. Validate scanner-frame coordinates first, then apply the separately documented georeferencing chain so a convention error is not hidden inside later transformations.

Zenith angle and elevation are different quantities, and degrees cannot enter radian trigonometric functions unchanged. Time alignment, encoder calibration, lever arms, and attitude errors remain even when the local spherical-to-Cartesian conversion is mathematically correct.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Test zero-angle and axis-aligned rays, then confirm the Cartesian vector length equals the input range. Compare several known targets with an independent decoder and inspect whether rotations, signs, or mirrored axes appear before applying map coordinates.

Retain a boundary mask, a reference-point inventory and a list of excluded areas. The recipient needs to distinguish an observed surface from an interpolation beyond the measured edge.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. MathWorks sph2cart ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team