Smooth and Tidy Spatial Features

Tools for smoothing and tidying spatial features (i.e. lines and polygons) to make them more aesthetically pleasing. Smooth curves, fill holes, and remove small fragments from lines and polygons.


smoothr 0.1.1

  • Fixed bug in fill_holes() and drop_crumbs() that was raising a warning when units::set_units() was being used.

smoothr 0.1.0

  • Remove holes in polygons with fill_holes()
  • Drop small lines and polygons with drop_crumbs()
  • Kernel smoothing implemented in smooth_ksmooth()
  • Densification of spatial lines and polygons implemented with densify()
  • Raster example dataset added
  • Vignette updated to reflect new functionality

smoothr 0.0.1

  • Initial release of smoothr

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.2 by Matthew Strimas-Mackey, 7 months ago,

Report a bug at

Browse source code at

Authors: Matthew Strimas-Mackey [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports methods, raster, rgeos, sf, stats, units

Suggests covr, knitr, lwgeom, rmarkdown, sp, terra, testthat

Imported by ggOceanMaps, tilemaps.

Suggested by recolorize, spNetwork.

See at CRAN