crop_raster_track: Crops a raster into a rectangle surrounding a set of lat long...

Description Usage Arguments Value Examples

View source: R/crop_raster_track.R

Description

Crops a raster into a rectangle surrounding a set of lat long points

Usage

1
2
3
4
5
6
7
crop_raster_track(
  raster_input,
  lat_points,
  long_points,
  width_buffer = 1,
  increase_resolution = 1
)

Arguments

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.

Value

cropped raster

Examples

1

geoviz documentation built on March 26, 2020, 9:15 p.m.