powered by
Remove Water
clip_water(shp, water, filter_islands = FALSE, ...)
tibble with sf geometries
sf
input shp with sf geometry.
water shapes to remove with sf geometry
logical. Should additional filtering be done to remove small areas?
additional arguments to pass to rmapshaper::ms_filter_islands(). Only used if filter_islands = TRUE.
rmapshaper::ms_filter_islands()
filter_islands = TRUE
# \donttest{ # time to run varies greatly, depending on machine data(suffolk) data(boston_water) clip_water(suffolk, boston_water[10, ]) # }
Run the code above in your browser using DataLab