Description Usage Arguments Value Creation notes
Make polygon grid over sf
feature using lat-lon
coordinates. This can be used to split data into regions determined by the
exported grid. Can be used to create a standard grid using the bounding box
of the original feature or a 'pretty' grid that locks grid edges to more
even numbers.
1 2 3 4 5 6 7 | sf_LatLongGrid(
sfLayer,
gridSize = 1,
prettyGrid = TRUE,
epsg = 4269,
output = c("polygon", "raster")
)
|
sfLayer |
sf object |
gridSize |
grid resolution, uses coordinate system measurement. Default: 1 |
prettyGrid |
logical, Use pretty grid measuremetns? Defalut: TRUE |
epsg |
an EPSG key |
output |
character, Do you want a polygon or raster output of the estimated grid? |
Returns either a raster or sf Polygon grid to overlay over the sfLayer data.
First created on 2019-Apr-02 in 1-2_FIA_CleanRawData.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.