Re: [R] Data frames intersections

2020-04-22 Thread Jim Lemon
Hi Julie, Your task is a bit obscure and I don't have the function "st_intersects", but I'll suggest this: br_list<-list() # your commands would have only run once for (i in 1:nrow(arrets_buffer)) { br_list[[i]]<- st_intersects(x = batiments, arrets_buffer[i,], sparse = FALSE) } You should get

[R] Data frames intersections

2020-04-22 Thread Julie Poitevin
Hello, > I want to build a map (bus accessibility map) and for that I need to identify > some polygons intersections. To do that I have 2 data.frame: batiments (that > gives buildings in a city) and arrets_buffer (that gives bus stops (points) > with a buffer around the point). > > I want to h