ds.gBuffer: #' @title Wrapper for 'gBuffer()' function from sp and rgeos...

Description Usage Arguments Details Value Author(s)

View source: R/ds.gBuffer.R

Description

This function is a wrapper for the gBuffer() function from the sp and rgeos packages

Usage

1
2
3
4
5
6
7
ds.gBuffer(
  input = NULL,
  by_id = FALSE,
  ip_width = NULL,
  newobj.name = NULL,
  datasources = NULL
)

Arguments

input

name of a spatial object on the server side to which the buffer will be applied

by_id

Logical determining if the function should be applied across subgeometries (TRUE) or the entire object (FALSE)

ip_width

Distance from original geometry to include in the new geometry. Negative values are allowed. Either a numeric vector of length 1 when byid is FALSE; if byid is TRUE: of length 1 replicated to the number of input geometries, or of length equal to the number of input geometries

newobj.name

a character, the name of the new object which will be created If no name is specified the default name is the name of the original data frame followed by the suffix '.buff'.

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as dataframe, from opal datasources.

Details

See the gBuffer() function from rgeos package for more details

Value

an object of class SpatialPolygonsDataFrame or SpatialPolygons, depending on the class of input

Author(s)

Bishop, T.


tombisho/dsGeoClient documentation built on Sept. 16, 2021, 12:18 a.m.