Description Usage Arguments Value
The function download from NaturalEarth database a worldmap raster. A grid is built from this raster. Then it returns a spatialpolygons object from 'sp' package of each site of the grid.
1 2 3 4 5 | grid_spatialpolygons(
siteSize = 260000,
projectionCRS = "+proj=cea +lon_0=0 +lat_ts=30 +x_0=0 +y_0=0 +datum=WGS84 +ellps=WGS84 +units=m +no_defs"
)
|
siteSize |
size of each cell of the grid in meter |
projectionCRS |
Interface class to the PROJ projection and transformation system. Default value is "+proj=cea +lon_0=0 +lat_ts=30 +x_0=0 +y_0=0 +datum=WGS84 +ellps=WGS84 +units=m +no_defs" |
a spatialpolygons object of all sites of the grid into the projection 'projectionCRS' given as argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.