Skip to contents

Generate a buffer around an Area of Interest

Usage

geo_fence(aoi, radius = 1000, append = TRUE)

Arguments

aoi

Area of Interest as sf object

radius

Buffer redius in meters, default = 1000m

append

Should the buffered area be appended to the AOI? Default is TRUE

Value

simple feature class

Examples

if (FALSE) {
 library(gisr)

 adm <- get_admin0(countries = "Zambia")

 adm %>% geo_fence(radius = 5000, append = TRUE) %>% gview()

 adm %>% geo_fence(radius = 5000, append = FALSE) %>% gview()
}