- img
An object of class Image
- nrow
The number of desired rows in the grid. Defaults to 1
.
- ncol
The number of desired columns in the grid. Defaults to 1
.
- buffer_x, buffer_y
Buffering factor for the width and height,
respectively, of each individual shape's side. A value between 0 and 0.5 where 0
means no buffering and 0.5 means complete buffering (default: 0). A value of
0.25 will buffer the shape by 25% on each side.
- interactive
If FALSE
(default) the grid is created automatically
based on the image dimension and number of rows/columns. If interactive = TRUE
, users must draw points at the diagonal of the desired bounding box
that will contain the grid.
- viewer
The viewer option. If not provided, the value is retrieved
using get_pliman_viewer()
. This option controls the type of viewer to use
for interactive plotting. The available options are "base"
and
"mapview"
. If set to "base", the base R graphics system is used for
interactive plotting. If set to "mapview", the mapview package is used. To
set this argument globally for all functions in the package, you can use
the set_pliman_viewer()
function. For example, you can run
set_pliman_viewer("mapview")
to set the viewer option to "mapview" for
all functions.
- only_shp
If TRUE
returns only the shapefiles with the coordinates
for each image. If FALSE
(default) returns the splitted image according
to nrow
and ncol
arguments.
- ...
Other arguments passed on to image_shp()