extraCrop | R Documentation |
This function expands the st_crop boundary box by an specific amount. It is useful if you want to construct a grid from just points. If you happen to use only st_crop, you cannot get the full area that the grid would cover because the crop would only reach the center of the grid. By adding thi "specific amount" (half of the spatial resolution), all the grid area will be covered.
extraCrop(target, reference)
target |
The target grid centroids. |
reference |
Reference polygon used for the cropping. |
bbox
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.