Skip to content

Main content

Latitude Longitude Signquadrant Token Tool

Calculate latitude longitude signquadrant token from explicit caller-supplied inputs.

Loading tool…

Description

Return axis if either coordinate is zero; otherwise concatenate N or S with E or W from the signs.

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.

Return axis if either coordinate is zero; otherwise concatenate N or S with E or W from the signs.

When to use this tool

Use Latitude Longitude Signquadrant Token when you need a supplied geographic label or coordinate-convention diagnostic.

How to use the tool and how it works

  1. Enter latitude, longitude. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read quadrant, onAxis. Inspect onAxis before interpreting the associated values.

Require latitude within [-90, 90] and longitude within [-180, 180]. Return axis if either coordinate is zero; otherwise concatenate N or S with E or W from the signs.1

Input fieldMeaning and unitsAccepted input
latitudeLatitudeRequired. Finite number; minimum -90; maximum 90.
longitudeLongitudeRequired. Finite number; minimum -180; maximum 180.
Output fieldInterpretationReturned shape
quadrantQuadrantRequired. Text; maximum UTF-16 length 8192.
onAxisOn AxisRequired. Boolean.
json
{
  "input": {
    "latitude": 30,
    "longitude": -40
  },
  "output": {
    "quadrant": "NW",
    "onAxis": false
  }
}

Limitations and assumptions

  • The label is a sign classification, not a named region. Either sign at the antimeridian follows its numeric longitude spelling, and both coordinates use degrees.
  • 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

  1. Calculation and input contract: geography/latitude-longitude-signquadrant-token — tool.io

Similar or alternative tools