Description Usage Arguments Value Examples
View source: R/crop_raster_track.R
Crops a raster into a rectangle surrounding a set of lat long points
1 2 3 4 5 6 7 | crop_raster_track(
raster_input,
lat_points,
long_points,
width_buffer = 1,
increase_resolution = 1
)
|
raster_input |
a raster |
lat_points |
a vector of WGS84 latitudes |
long_points |
a vector of WGS84 longitudes |
width_buffer |
buffer distance around the provided points in km |
increase_resolution |
optional multiplier to increase number of cells in the raster. Default = 1. |
cropped raster
1 | crop_raster_track(example_raster(), example_igc()$lat, example_igc()$long)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.