Skip to content

Intersection of polygons and polylines

2 messages · Rija FANIRIANTSOA, Barry Rowlingson

#
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