Skip to content
HALOWERK

Ortwerk

planar snap topology collisions

Return distinct vertices merged by grid snapping and edges collapsed to zero length. Cartesian coordinates only; no map fetch or CRS conversion.

POST https://ort.halowerk.com/v1/planar-snap-topology-collisions

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
verticesarrayYes
edgesarrayYes
gridnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "vertices": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000,
          "maximum": 1000000
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 200,
      "minItems": 1
    },
    "edges": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 199
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 200,
      "minItems": 0
    },
    "grid": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000
    }
  },
  "required": [
    "vertices",
    "edges",
    "grid"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "vertices": [
    [
      0.1,
      0.1
    ],
    [
      0.2,
      0.2
    ],
    [
      1.2,
      0
    ]
  ],
  "edges": [
    [
      0,
      1
    ],
    [
      1,
      2
    ]
  ],
  "grid": 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 โ†’