par_make_grid {chopin} | R Documentation |
Generate grid polygons
Description
Returns a sf object that includes x- and y- index by using two inputs ncutsx and ncutsy, which are x- and y-directional splits, respectively.
Usage
par_make_grid(points_in = NULL, ncutsx = NULL, ncutsy = NULL)
Arguments
points_in |
|
ncutsx |
integer(1). The number of splits along x-axis. |
ncutsy |
integer(1). The number of splits along y-axis. |
Value
A sf
or SpatVector
object of computation grids with
unique grid id (CGRIDID).
Note
Grids are generated based on the extent of points_in
first,
then exhaustive grids will be filtered by the intersection between
these and points_in
. Thus, the number of generated grids may be
smaller than ncutsx * ncutsy
.
Author(s)
Insang Song
See Also
Other Parallelization:
par_cut_coords()
,
par_grid()
,
par_grid_mirai()
,
par_hierarchy()
,
par_hierarchy_mirai()
,
par_merge_grid()
,
par_multirasters()
,
par_multirasters_mirai()
,
par_pad_balanced()
,
par_pad_grid()
,
par_split_list()