turf-bathwater
v0.0.2
Published
A module to remove self-intersecting polygons from a GeoJSON input
Downloads
3
Readme
turf-bathwater
A module to remove self-intersecting polygons from a GeoJSON input
Before:

After:

install
npm install -g turf-bathwater
usage
node index.js <geojsonfile>
considerations
geojsonfileis a.geojsonfile containing a FeatureCollectionturf-bathwaterdeletes whole polygons where self-intersection is detected. This is a blunt instrument. Use with caution.
