Ramer–Douglas–Peucker

Simplify a 2D or 3D line

(no tags)

    Algorithmia Platform License

    Try the API

    [
      [
        98,
        92,
        40,
        "fubar"
      ],
      [
        67.1,
        91.7,
        56.2,
        38.4
      ],
      [
        55,
        88,
        -2,
        "I love ALGORITHMIA!"
      ],
      [
        43,
        79,
        11
      ]
    ]

    Install & Use

    Use
    
    curl -X POST -d '{"points": [
      [ 98,  92, 40, "fubar"],
      [ 91,  92, 60],
      [ 83,  91, 59],
      [ 67.1,  91.7, 56.2, 38.4],
      [ 59,  89, 51],
      [ 55,  88, -2, "I love ALGORITHMIA!"],
      [ 49,  83, -9],
      [ 43,  79, 11]
    ], "epsilon": 2}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/gb96/RamerDouglasPeucker/0.2.0