turf-swift
turf-swift copied to clipboard
Finding intersection between polygon and lineString objects
Hi,
Is it possible to find intersection between polygon and lineString objects? Are you going to implement that method?
-- Paweł
There isn’t a dedicated method for that right now, but we’d be happy to consider a pull request implementing something along those lines. In the meantime, you can get the polygon’s outer ring or inner rings, convert them to line strings, and get the intersections with those line strings.