buffer {rcrisp}R Documentation

Apply a buffer region to a sf object

Description

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

Expanded sf object


[Package rcrisp version 0.1.4 Index]