A high performance library for (correctly) simplifying polygons

Written by
Link to Post

https://www.reddit.com/r/golang/comments/adtnmy/a_high_performance_library_for_correctly/

https://github.com/hcliff/geo-simplification

Through the power of r-trees and heaps I’ve put together a library that can simplify (reduce the number of points) your geojson shape without “breaking” the shape. It’s based off Jason Davies excellent blog post and reference implementation https://www.jasondavies.com/simplify/ but uses the golang standard geo library.

Let me know what you think! This is a pretty common problem for a lot of people.

submitted by /u/IPhotoDogsForKarma
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply