Reduce number of points in line

前端 未结 8 2111
Happy的楠姐
Happy的楠姐 2020-12-05 11:38

I\'m searching for algorithms to reduce the LOD of polylines, lines (looped or not) of nodes. In simple words, I want to take hi-resolution coastline data and be able to re

8条回答
  •  北海茫月
    2020-12-05 12:01

    Adding to the slew of answers. I found a javascript implementation at this github repo: https://github.com/mourner/simplify-js

    There's also a list of different implementations of the Ramer-Douglas-Peucker algorithm in different languages.

提交回复
热议问题