Smooth polygon boundaries
smooth_polygons.RdSmooths the geometries of an sf object using smoothr::smooth(). Attribute
columns are retained. The available methods and the interpretation of
smoothness are defined by smoothr.
Arguments
- x
An
sfobject containing polygon or multipolygon geometries.- method
Smoothing method passed to
smoothr::smooth(). Common choices include"ksmooth","chaikin","spline", and"densify".- smoothness
Smoothing parameter passed to the selected method through
smoothr::smooth().