View source: R/geo_utilities.R
geo_fence | R Documentation |
Generate a buffer around an Area of Interest
geo_fence(aoi, radius = 1000, append = TRUE)
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 |
simple feature class
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.