Erase any are overlapping the geometry
Usage
erase_baltimore_parks(x, ...)
erase_baltimore_water(x, water = c("city", "msa"), ...)
Arguments
- x
A
sf
,sfc
, orbbox
object to erase or trim.- ...
Arguments passed on to
sfext::st_erase
flip
If
TRUE
, usesf::st_intersection()
to "erase" geometry of x that intersects y; ifFALSE
usesf::st_difference()
to trim x to y geometry, Default:FALSE
.union
If
TRUE
, uniony
withsf::st_union()
before applying difference/intersection; defaults toTRUE
.combine
If
TRUE
andunion = TRUE
, combiney
withsf::st_combine()
before unioning. Defaults toFALSE
.
- water
Type of water data to use, either
baltimore_water
orbaltimore_msa_water
.