Description Usage Arguments Value Examples
Takes a bounding box and a cell depth and returns a set of Point's in a grid.
1 | geo_pointgrid(bbox, cell_size, units = "kilometers")
|
bbox |
extent in |
cell_size |
(numeric) the distance across each cell |
units |
(character) used in calculating cellSize, can be degrees, radians, miles, or kilometers (default) |
FeatureCollection<Point> grid of points
1 2 3 4 5 | extent <- c(-70.823364, -33.553984, -70.473175, -33.302986)
cellSize <- 1
units <- 'miles'
x <- geo_pointgrid(extent, cellSize, units)
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.