Description Usage Arguments Value Note See Also Examples
Takes a bounding box and a cell depth and returns a set of data-Point's in a grid
1 | lawn_point_grid(extent, cellSide, units = "kilometers", mask = NULL)
|
extent |
(numeric) Extent in |
cellSide |
(integer) the distance between points |
units |
(character) Units to use for cellWidth, one of 'miles' or 'kilometers' (default). |
mask |
(logical) if passed a Polygon or MultiPolygon, the grid Points will be created only inside it |
data-FeatureCollection grid of points.
parameters centered and bboxIsMask removed
Other interpolation:
lawn_hex_grid(),
lawn_isolines(),
lawn_planepoint(),
lawn_square_grid(),
lawn_tin(),
lawn_triangle_grid()
1 2 3 | lawn_point_grid(c(-77.3876, 38.7198, -76.9482, 39.0277), 30, 'miles')
lawn_point_grid(c(-77.3876, 38.7198, -76.9482, 39.0277), 10, 'miles')
lawn_point_grid(c(-77.3876, 38.7198, -76.9482, 39.0277), 3, 'miles')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.