Learn R Programming

stplanr (version 0.4.1)

buff_geo: Create a buffer of n metres for non-projected 'geographical' spatial data

Description

Solves the problem that buffers will not be circular when used on non-projected data.

Usage

buff_geo(shp, width, ...)

Arguments

shp

A spatial object with a geographic CRS (e.g. WGS84) around which a buffer should be drawn

width

The distance (in metres) of the buffer (when buffering sp objects)

...

Arguments passed to the buffer (see ?rgeos::gBuffer or ?sf::st_buffer for details)

See Also

Other geo: bbox_scale(), crs_select_aeq(), gclip(), geo_bb_matrix(), geo_bb(), mapshape_available(), mapshape(), quadrant(), reproject()