Learn R Programming

stplanr (version 0.5.0)

line_length: Calculate length of lines in geographic CRS

Description

Calculate length of lines in geographic CRS

Usage

line_length(l, byid = TRUE)

Arguments

l

A spatial lines object

byid

Logical determining whether the length is returned per object (default is true)