Approx Vector
This layer (approx_vector) approximates vector figures: lines and polygons.
The operation decreases number of vertices with Douglas-Peucker algorithm.
"action": "approx_vector",
"src": [
"dst": "$sample2",
"settings": {
"classes": [
"epsilon": 3


  • classes โ€” list of classes to apply transformation. Only classes with shape "line" or "polygon" are allowed.
  • epsilon โ€” approximation accuracy (maximum distance between the original curve and its approximation).


Illustrated examples of usage may be found here.
Copy link