pgBuffer: Obtains the buffer of a geometry

Description Usage Arguments Value Author(s)

Description

This function obtains the buffer of a geometry in a postgreSQL database.

Usage

1
pgBuffer(con, vecTable, geom = NULL, dist, newTable = NULL)

Arguments

con

An object of class "pgConnect" generated by pgConnect()

vecTable

Name of vectorial table in the database

geom

A string with the name of a geometry type column. Only required if the table has more than 1 geometry columns

dist

Integer indicating the radius. Units of radius are measured in units of the spatial reference system. Measured in the same units has

newTable

TRUE or FALSE. Indicates if a table with the buffer should be permanently added to the database

Value

A SpatialPolygonsDataFrame object with the buffer of each object

Author(s)

Bruno Silva


berdinazzi/easyPostgreSQL documentation built on May 12, 2019, 3:04 p.m.