Description Usage Arguments Value Examples
View source: R/crop_raster_square.R
Crops a raster and returns a smaller square raster
1 | crop_raster_square(rasterIn, lat, long, square_km, increase_resolution = 1)
|
rasterIn |
a raster |
lat |
WGS84 latitude of the centre of the cropped square |
long |
WGS84 longitude of the centre of the cropped square |
square_km |
length of one side of the square in km |
increase_resolution |
optional multiplier to increase number of cells in the raster |
A cropped raster
1 | crop_raster_square(example_raster(), lat = 54.513293, long = -3.045598, square_km = 0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.