
Convert geographic line objects to a data.frame with from and to coords
Source:R/od-funs.R
line2df.RdThis function returns a data frame with fx and fy and tx and ty variables representing the beginning and end points of spatial line features respectively.
See also
Other lines:
angle_diff(),
geo_toptail(),
is_linepoint(),
line2points(),
line_bearing(),
line_breakup(),
line_midpoint(),
line_segment(),
line_segment1(),
line_via(),
mats2line(),
n_segments(),
n_vertices(),
onewaygeo(),
points2line(),
toptail_buff()