Return a buffer (polygon) of the input geometry.

palms_buffer(point, distance = 100, crs = 2193)

Arguments

point

The geometry to buffer

distance

The buffer distance in meters. Default 100.

crs

The projection to convert to before buffering. Default 2193. This is necessary as at units for ESPG:4326 (WGS 84) are degrees, not meters.

Value

A polygon representing a buffer of the input feature. This is always returned in the ESPG:4326 projection.

Examples

data("home") home.buffer <- palms_buffer(home, 100)