straight-skeleton
straight-skeleton copied to clipboard
FromGeoJSON fails when start and end points match.
GeoJSON requires that polygons be closed with the start point duplicated as the end point. If an array of points configured this way is sent to the v1 of the library, it will throw an error. I have not tested the main branch.