# S4 method for SpatVector
elongate(x, length=1, flat=FALSE)
Value
SpatVector
Arguments
x
SpatVector
length
positive number indicating how much the lines should be elongated at each end. The unit is meter is the crs is lonlat and it is the same as the linear unit of the crs on other cases (also meter in most cases)
flat
logical. If TRUE, the earth's curvature is ignored for lonlat data, and the distance unit is degrees, not meter