Skip to content

Instantly share code, notes, and snippets.

Barnabas Kendall barnabas-avalara

Block or report user

Report or block barnabas-avalara

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kink-functions.js
import difference from '@turf/difference'
import { feature, multiPolygon, polygon, featureCollection, multiPoint } from '@turf/helpers'
import { getGeom } from '@turf/invariant'
import { flattenEach, featureEach } from '@turf/meta'
import simplepolygon from 'simplepolygon'
import gpsi from 'geojson-polygon-self-intersections'
export function unkinkPolygon (geojson) {
const features = []
You can’t perform that action at this time.