Description Usage Arguments Value Author(s)
Inspired from https://stackoverflow.com/questions/41787313/how-to-create-a-grid-of-spatial-points, https://www.nceas.ucsb.edu/~frazier/RSpatialGuides/OverviewCoordinateReferenceSystems.pdf, https://gis.stackexchange.com/questions/22843/converting-decimal-degrees-units-to-km-in-r, https://stackoverflow.com/questions/48727511/r-grid-of-points-from-polygon-input
1 2 | build.vs.grid.fun(country_code.chr, NAME_1.chr, res.num, geom.chr, sf.bool,
EPSG.chr = NULL)
|
country_code.chr |
a character specifying the ISO contrycode. Ex : BE for belgium |
NAME_1.chr |
a character specifying the NAME_1 value for lower than country level information |
res.num |
A numeric representing the spatial resolution of the desired grid (in meters) |
geom.chr |
A character specifying the geometry of the interpolation grid. Cant take a value among ("polygons", "centers" or "corners") |
sf.bool |
A boolean specifying if we want as sp or sf (TRUE for sf) |
EPSG.chr |
A character specifying the EPSG code of the desired Coordiante Reference System (CRS) |
A sf spatial grid with the desired resolution clipped to the Wallonia Polygon
Thomas Goossens - pokyah.github.io
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.