Description
Keep or negate longitude accordingly, then label the resulting sign east, west, or none.
Coordinate labels and tokens encode an axis order, sign convention, or formatting policy. Numeric compatibility and text formatting can diagnose ambiguity, but neither establishes the actual coordinate reference or location.
Keep or negate longitude accordingly, then label the resulting sign east, west, or none.
When to use this tool
Use Geodetic Longitude Rotation Sense Token when you need a supplied geographic label or coordinate-convention diagnostic.
How to use the tool and how it works
- Enter longitude, convention. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read eastPositive, rotationSense. Use the output convention below.
Require east-positive or west-positive convention. Keep or negate longitude accordingly, then label the resulting sign east, west, or none.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| longitude | Longitude | Required. Finite number. |
| convention | Convention | Required. Text; one of "east-positive", "west-positive"; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| eastPositive | East Positive | Required. Finite number. |
| rotationSense | Rotation Sense | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"longitude": 30,
"convention": "west-positive"
},
"output": {
"eastPositive": -30,
"rotationSense": "west"
}
} Limitations and assumptions
- The numeric longitude is not wrapped or bounded. rotationSense is a sign label rather than a physical rotation, velocity, or coordinate-reference conversion.
- 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
Read authoritative coordinate metadata when the actual axis order or reference system matters. Keep original numeric precision and explicit sign conventions rather than inferring them from a plausible label.
References
Similar or alternative tools
- Geodetic Coordinate Signed Zero Roundtrip
Require nonnegative magnitude and prefix its numeric string with minus or plus according to negative, returning text, magnitude, and the flag.
- Geographic Longitude Hemisphere Zero Label
Append a degree symbol and W or E according to the west flag.