turf
turf copied to clipboard
Requesting to accept features other than polyon for turf.difference
Given a line and polygon which intersects, i would like to remove the polygon intersecting area from the line. Example: turf.difference(line, polygon) But turf doesnt seem to accept a line as input parameter.
As for the @turf/difference
module, Turf does not throw any errors on LineString, however the difference module uses jsts
which does not support LineString + Polygon difference operation. Maybe we could add a different JSTS Operation, currently it's using OverlayOp