Skip to content

Instantly share code, notes, and snippets.

@ejabx
Created February 24, 2021 18:51
Show Gist options
  • Save ejabx/af91e9bf31fa460b3cf7d487e49f4e77 to your computer and use it in GitHub Desktop.
Save ejabx/af91e9bf31fa460b3cf7d487e49f4e77 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ejabx
Copy link
Author

ejabx commented Feb 24, 2021

I didn't use Turf, it was a combination of mapshaper (to convert to a LineString) and geoman (to delete vertices from the LineString).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment