Zum Inhalt
HALOWERK

Geowerk

line simplify

Simplifies a planar line with the Ramer-Douglas-Peucker algorithm. 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/line-simplify

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
pointsarrayJa
tolerancenumberJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "points",
    "tolerance"
  ],
  "additionalProperties": false,
  "properties": {
    "points": {
      "type": "array",
      "minItems": 2,
      "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": ""
          }
        }
      }
    },
    "tolerance": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000,
      "description": ""
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "points": [
    {
      "x": 0,
      "y": 0
    },
    {
      "x": 1,
      "y": 0.01
    },
    {
      "x": 2,
      "y": 0
    }
  ],
  "tolerance": 0.1
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://geo.halowerk.com/v1/line-simplify/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 →