I have two object :
pts=readOGR(dsn="overpass-turbo/shp/",layer="amenity")
poly=readOGR(dsn="overpass-turbo/shp/",layer="polygons")
Like
I would have, as a result, a spatial data frame with all points in the polgygon... I'have find something in this post but it doesn't work as I want!
a<-over(pts, poly)
but a in not a Sp data frame !!
I know !! I always have troubles with over fonction ...