Description Usage Arguments Value Author(s)
This function obtains the perimeter of a POLYGON geometry in a postgreSQL database.
1 | pgPerimeter(con, vecTable, geom = NULL, addColumn = FALSE)
|
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 |
addColumn |
TRUE or FALSE. Indicates if a column with the perimeter should be permanently added to the table in the database |
A data.frame with the perimeter of each object in the original table
Bruno Silva
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.