I am pulling huge geojson datasets with golang, and I am wondering if there is anything like simplify.js for golang, that would reduce the number of points in a polyline while retaining its shape?
Asked
Active
Viewed 210 times
1
-
1You could translate the [source code](https://github.com/mourner/simplify-js/blob/master/simplify.js#L103-L113) to Go or use [a library](https://github.com/search?q=language%3Ago+Douglas+Peucker) that does the same. Not entirely sure though – xarantolus May 03 '20 at 11:36