Skip to content

Main content

GeoJSON: Point Coordinate Pair Builder Tool

Build a two-dimensional RFC7946 Point geometry using longitude-first WGS84 degrees, with explicit range checks and no CRS conversion.

Loading tool…

Description

Return type Point and coordinates ordered longitude first, latitude second, inside result.

A GeoJSON position is an ordered coordinate tuple. Its dimension and individual ordinates are structural information; the presence of a third value alone does not establish a usable altitude or a valid coordinate reference.

Return type Point and coordinates ordered longitude first, latitude second, inside result.

When to use this tool

Use GeoJSON: Point Coordinate Pair Builder when you need a coordinate-tuple shape check or explicit ordinate operation.

How to use the tool and how it works

  1. Enter longitudeDegrees, latitudeDegrees. 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.

Require longitudeDegrees in [-180, 180] and latitudeDegrees in [-90, 90]. Return type Point and coordinates ordered longitude first, latitude second, inside result.1

GeoJSON positions place longitude before latitude. This builder emits two-dimensional positions without a reference-system transformation.2

Input fieldMeaning and unitsAccepted input
longitudeDegreesLongitude Degrees Unit: deg.Required. Finite number.
latitudeDegreesLatitude Degrees Unit: deg.Required. Finite number.
Output fieldInterpretationReturned shape
resultObject containing the calculated members; expand to inspect the fields below.Required. Object.
result.typeLiteral type token or parsed-value classification under the stated vocabulary.Calculated result member: string.
result.coordinatesCoordinatesCalculated result member: array.
json
{
  "input": {
    "longitudeDegrees": 20,
    "latitudeDegrees": 10
  },
  "output": {
    "result": {
      "type": "Point",
      "coordinates": [
        20,
        10
      ]
    }
  }
}

Limitations and assumptions

  • This is a two-dimensional geographic coordinate builder without altitude, datum transformation, feature properties, geocoding, or validation of an observed location.
  • 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

Validate the complete coordinate convention and geometry before geospatial use. For actual coordinate conversion, use a transformation with the source and target reference systems explicitly specified.

References

  1. Calculation and input contract: geojson/point-coordinate-pair-builder — tool.io

  2. RFC 7946: positions — IETF

Similar or alternative tools