Calculate length of lines in geographic CRS

line_length(l, byid = TRUE)

Arguments

l

A spatial lines object

byid

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