geo_fence: Generate a buffer around an Area of Interest

View source: R/geo_utilities.R

geo_fenceR Documentation

Generate a buffer around an Area of Interest

Description

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

## Not run: 
 library(gisr)

 adm <- get_admin0(countries = "Zambia")

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

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

## End(Not run)


USAID-OHA-SI/gisr documentation built on Feb. 10, 2024, 8:55 p.m.