clip_water {dots}R Documentation

Remove Water

Description

Remove Water

Usage

clip_water(shp, water, filter_islands = FALSE, ...)

Arguments

shp

input shp with sf geometry.

water

water shapes to remove with sf geometry

filter_islands

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.

Value

tibble with sf geometries

Examples


# time to run varies greatly, depending on machine
data(suffolk)
data(boston_water)
clip_water(suffolk, boston_water[10, ])


[Package dots version 0.0.2 Index]