Description
Convert a north-referenced bearing to a clockwise or counterclockwise screen rotation.
Geographic coordinates use explicit angular, axis and vertical-datum conventions. Unwrapped longitude difference differs from the shortest circular separation, and a north-based bearing differs from a rightward-zero screen rotation. Ellipsoidal and orthometric heights require a compatible geoid-undulation model.
Convert a north-referenced bearing to a clockwise or counterclockwise screen rotation.
When to use this tool
Use Geographic Bearing Screen Rotation Crosswalk when checking the stated geographic label, angular or height-reference convention.
How to use the tool and how it works
- Enter bearingDegrees, clockwiseScreenRotation. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read screenRotationDegrees. Use the output convention below.
Subtract 90 degrees from north-based bearing. Keep that sign for clockwiseScreenRotation or negate it otherwise, then wrap into [0,360).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| bearingDegrees | Bearing Degrees | Required. Finite number. |
| clockwiseScreenRotation | True uses bearing-90; false negates that rotation, then wraps it. | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| screenRotationDegrees | Screen Rotation Degrees | Required. Finite number. |
{
"input": {
"bearingDegrees": 0,
"clockwiseScreenRotation": true
},
"output": {
"screenRotationDegrees": 270
}
} Limitations and assumptions
- The screen zero axis is rightward and bearing zero is north; no projection, coordinate transform or actual rendered rotation is verified.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use authoritative coordinate/datum definitions and appropriate geodesic, projection and geoid models for actual locations, distances and height conversion.
References
Similar or alternative tools
- Geographic Radius Angular Fraction
Convert signed arc length and a supplied radius to central angle and turns.
- Longitude Difference Unwrapped Sign
Calculate a signed longitude difference without wrapping around the date line.