Skip to content

Main content

Port Starboard Signed Offset Crosswalk Tool

Calculate port starboard signed offset crosswalk from explicit caller-supplied inputs.

Loading tool…

Description

Return the absolute offset as magnitude and infer port or starboard from its sign and positiveStarboard.

Port and starboard are vessel-relative directions. A transverse coordinate's sign depends on which side the source convention calls positive.

Return the absolute offset as magnitude and infer port or starboard from its sign and positiveStarboard.

When to use this tool

Use Port Starboard Signed Offset Crosswalk when you need to translate a stated vessel transverse sign convention.

How to use the tool and how it works

  1. Enter offset, positiveStarboard. 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 side, magnitude. Use the output convention below.

Return the absolute offset as magnitude and infer port or starboard from its sign and positiveStarboard. Label zero center.1

Input fieldMeaning and unitsAccepted input
offsetOffsetRequired. Finite number.
positiveStarboardPositive StarboardRequired. Boolean.
Output fieldInterpretationReturned shape
sideSideRequired. Text; maximum UTF-16 length 8192.
magnitudeMagnitudeRequired. Finite number.
json
{
  "input": {
    "offset": -3,
    "positiveStarboard": true
  },
  "output": {
    "side": "port",
    "magnitude": 3
  }
}

Limitations and assumptions

  • This translates a sign convention only; no vessel position or clearance is checked.
  • 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

Preserve the source coordinate frame and use a full spatial transformation when heading or global position is involved.

References

  1. Calculation and input contract: nautical/port-starboard-signed-offset-crosswalk — tool.io

Similar or alternative tools