Description Usage Arguments Value Examples
This algorithm computes a buffer area for all the features in an input layer, using a fixed distance.
1 2 | qgis_fixeddistancebuffer(input, output, distance, segments = 5,
dissolve = FALSE)
|
input |
<chr> or simple feature object Target layer. Use either a file destination or simple feature dataframe |
output |
<chr> Use a string file destination |
distance |
<num> Distance units are equivelent to coordinate system units of input shapefile/geojson/sf |
segments |
<num> Numeric value which determines how many segments are used to draw each section of the buffer. A higher value gives a smoother shape |
dissolve |
<boolean> TRUE or FALSE. TRUE dissolves all buffers into one continous polygon |
simple feature, geojson, or shapefile(.shp)
1 2 3 4 5 6 7 | qgis_fixeddistancebuffer(input = 'G:/DC Policy Center/DC_One/Data/Spatial/Metro_GIS_shapefiles/Line.shp',
output = 'G:/DC Policy Center/DC_One/Data/Spatial/Metro_GIS_shapefiles/buffer.shp',
distance = 1000)
qgis_fixeddistancebuffer(input = Lines,
output = 'G:/DC Policy Center/DC_One/Data/Spatial/Metro_GIS_shapefiles/buffer.shp',
distance = 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.