Golang simplifying polyline data

260 Views Asked by At

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?

https://mourner.github.io/simplify-js/

1

There are 1 best solutions below

0
On

There is a Go port of simplify-js

https://github.com/yrsh/simplify-go