Skip to content

Main content

Nautical: Vessel Port Star Board Coordinate Sign Tool

Crosswalk one vessel transverse coordinate under an explicitly declared port-positive or starboard-positive convention; no frame inference.

Loading tool…

Description

Convert transverseCoordinate to a starboard-positive coordinate by retaining or negating it according to positiveSide.

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

Convert transverseCoordinate to a starboard-positive coordinate by retaining or negating it according to positiveSide.

When to use this tool

Use Nautical: Vessel Port Star Board Coordinate Sign when you need to translate a stated vessel transverse sign convention.

How to use the tool and how it works

  1. Enter transverseCoordinate, positiveSide. 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 result. Expand result to inspect the returned fields.

Convert transverseCoordinate to a starboard-positive coordinate by retaining or negating it according to positiveSide. Label zero centerline and nonzero values by side.1

Input fieldMeaning and unitsAccepted input
transverseCoordinateTransverse CoordinateRequired. Finite number.
positiveSidePositive SideRequired. Text; one of "port", "starboard". Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units.
Output fieldInterpretationReturned shape
resultResultRequired. Object.
result.starboardPositiveCoordinateStarboard Positive CoordinateCalculated result member: number.
result.sideSideCalculated result member: string.
json
{
  "input": {
    "transverseCoordinate": 2,
    "positiveSide": "port"
  },
  "output": {
    "result": {
      "starboardPositiveCoordinate": -2,
      "side": "port"
    }
  }
}

Limitations and assumptions

  • This changes a sign convention only; vessel heading and geographic coordinates are not transformed.
  • Outputs are nested inside result. 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/vessel-port-star-board-coordinate-sign — tool.io

Similar or alternative tools