[R-sig-Geo] Determine if a line segment intersects a polygon

Waichler, Scott R Scott.Waichler at pnl.gov
Sat Aug 11 01:34:31 CEST 2007


I am looking for a method that would determine whether any part of a
line segment defined by (x0, y0) and (x1, y1) intersects a given polygon
(true or false).  I don't have any other geospatial needs here, so if a
solution exists using base R that would be great.

Thanks,
Scott Waichler
Pacific Northwest National Laboratory
scott.waichler _at_ pnl.gov




More information about the R-sig-Geo mailing list