Zum Inhalt
HALOWERK

Geowerk

polygon ops

Calculates planar polygon area and centroid in caller-declared coordinate units. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age.

POST https://geo.halowerk.com/v1/polygon-ops

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
polygonarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "polygon"
  ],
  "additionalProperties": false,
  "properties": {
    "polygon": {
      "type": "array",
      "minItems": 3,
      "maxItems": 100000,
      "items": {
        "type": "object",
        "required": [
          "x",
          "y"
        ],
        "additionalProperties": false,
        "properties": {
          "x": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000,
            "description": ""
          },
          "y": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000,
            "description": ""
          }
        }
      }
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "polygon": [
    {
      "x": 0,
      "y": 0
    },
    {
      "x": 10,
      "y": 0
    },
    {
      "x": 10,
      "y": 10
    },
    {
      "x": 0,
      "y": 10
    }
  ]
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://geo.halowerk.com/v1/polygon-ops/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →