powered by
Overlay a shapefile with a grid. Then, excludes grid cells that do not cover a specific amount of the Shape area.
GridFilter(shape, resol = 1, prop = 0)
A gridded shapefile.
A shapefile.
The resolution (in degrees) of the grid you want to overlay. The default is 1 degree of longitude and latitude.
The minimum value of area covered by the grid cell. The default is 0 (i.e. it does not delete any grid cell).
# https://rfunctions.blogspot.com/2014/12/gridfilter-intersect-grid-with-shape.html
Run the code above in your browser using DataLab