0.0.2 • Published 8 years ago

turf-bathwater v0.0.2

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

turf-bathwater

A module to remove self-intersecting polygons from a GeoJSON input

Before: before

After: after

install

npm install -g turf-bathwater

usage

node index.js <geojsonfile>

considerations

  • geojsonfile is a .geojson file containing a FeatureCollection
  • turf-bathwater deletes whole polygons where self-intersection is detected. This is a blunt instrument. Use with caution.