How to pick up the information for the nearest associated polygon to points using R?

前端 未结 1 1813
春和景丽
春和景丽 2021-02-09 18:02

I\'m figuring out how to do a Intersection (Spatial Join) between point and polygons from shapefiles. My idea is to get the closest points and those points that match completely

1条回答
  •  你的背包
    2021-02-09 18:52

    I have got that it's possible doing polygon to polygon overlays using sp andrgeos. You'd need to load rgeos after you load sp.

    library(rgeos)
    over(polygon1, polygon2)
    

    0 讨论(0)
提交回复
热议问题