Skip to content
HALOWERK

Kartenwerk

grid cut fill nearest haul ledger

Allocate supplied cut volumes to fill cells by nearest-pair order and return haul and import/export balances.

POST https://karte.halowerk.com/v1/grid-cut-fill-nearest-haul-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
beforearrayYes
targetarrayYes
spacingnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "before": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000,
          "maximum": 1000000
        },
        "maxItems": 8,
        "minItems": 1
      },
      "maxItems": 8,
      "minItems": 1
    },
    "target": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": -1000000,
          "maximum": 1000000
        },
        "maxItems": 8,
        "minItems": 1
      },
      "maxItems": 8,
      "minItems": 1
    },
    "spacing": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000
    }
  },
  "required": [
    "before",
    "target",
    "spacing"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "before": [
    [
      2,
      0
    ]
  ],
  "target": [
    [
      0,
      2
    ]
  ],
  "spacing": 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 โ†’