Using Turf, I'm trying to determine the points at which a line (LineString) meets the boundaries of a polygon.
Turf has the ability to do point-in-polygon/point-on-line and polygon intersections etc, but I can't figure out a way to get Turf to give the answer to the question "what are the points at which this LineString meets the boundaries of this Polygon".
The only options I've come up with so far is to enumerate the points of the polygon as line-segments and then use a line intersection algorithm. I just hoped there was a more "Turf" way of doing it.
PS - I already asked this over on stackoverflow but someone suggested I try here on gis.stackexchange.com