Skip to contents

Erase any are overlapping the geometry

Usage

erase_baltimore_parks(x, ...)

erase_baltimore_water(x, water = c("city", "msa"), ...)

Arguments

x

A sf, sfc, or bbox object to erase or trim.

...

Arguments passed on to sfext::st_erase

flip

If TRUE, use sf::st_intersection() to "erase" geometry of x that intersects y; if FALSE use sf::st_difference() to trim x to y geometry, Default: FALSE.

union

If TRUE, union y with sf::st_union() before applying difference/intersection; defaults to TRUE.

combine

If TRUE and union = TRUE, combine y with sf::st_combine() before unioning. Defaults to FALSE.

water

Type of water data to use, either baltimore_water or baltimore_msa_water.