Skip to content
Prev 11744 / 29559 Next

Intersection of polygons and polylines

On Fri, May 20, 2011 at 10:53 AM, Rija FANIRIANTSOA
<frijaf1 at mail2science.com> wrote:
> require(rgeos)

 > gIntersects(L,polyg,byid=TRUE)
      l1
p1 FALSE
p2 FALSE
p3  TRUE
p4  TRUE

 - that gives you T/F for intersections of L with the polygons in
polyg. Job almost done!

Barry