cropField | R Documentation |
This function crops selected regions from the original data using an existing shapefile or user-drawn polygon.
cropField(field, shape = NULL, nPolygon = 1, nPoint = 4, cex = 1)
field |
SpatVector. |
shape |
a specified shape for cropping. If shape=NULL, the user will be prompted to draw one or more polygon(s). |
nPolygon |
number of polygons. |
nPoint |
number of points per polygon (4 >= nPoint <= 50). |
cex |
point size. Please check |
cropField
A list with three elements:
shape
is the specified cropped geometry, in format SpatVector
.
cropField
is the original object area without the cropped shape, in format SpatVector
.
selectedField
the cropped data (contained within the cropped shape), in format SpatVector
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.