Skip to content
HALOWERK

Ortwerk

planar lines endpoint stitch

Return maximal endpoint-connected line chains with branch-vertex witnesses. Cartesian coordinates only; no map fetch or CRS conversion.

POST https://ort.halowerk.com/v1/planar-lines-endpoint-stitch

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
linesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lines": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "array",
          "items": {
            "type": "number",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "maxItems": 2,
          "minItems": 2
        },
        "maxItems": 100,
        "minItems": 2
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "lines"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lines": [
    [
      [
        0,
        0
      ],
      [
        1,
        0
      ]
    ],
    [
      [
        2,
        0
      ],
      [
        1,
        0
      ]
    ],
    [
      [
        2,
        0
      ],
      [
        3,
        1
      ]
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’