Skip to contents

If the input object is in lat/lon coordinates, the buffer is approximately applied by first transforming the object in a suitable projected CRS, expanding it with the given buffer, and then transforming it back to the lat/lon system.

Usage

buffer(obj, buffer_distance, ...)

Arguments

obj

A sf object

buffer_distance

Buffer distance in meters

...

Optional parameters passed on to sf::st_buffer()

Value

An object of class sf::sfc_POLYGON