polyPerimeter: Polygon perimeter

View source: R/polyPerimeter.R

polyPerimeterR Documentation

Polygon perimeter

Description

Calculates the perimeter length(s) for a polygon object

Usage

polyPerimeter(x)

Arguments

x

sf POLYGON class object

Value

A vector of polygon perimeters in projection units

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Examples

library(sf)
  polys <- st_read(system.file("shape/nc.shp", package="sf"))
    polys <- suppressWarnings(st_cast(polys[c(10,100),], "POLYGON"))
 
 polyPerimeter(polys)


spatialEco documentation built on Nov. 18, 2023, 1:13 a.m.