Determines the requested line end and returns a new sf point object with x and y coordinate value attributes added. Also adds ReachName XS Seq attributes suitable for joining.

sf_line_end_point(line, end)

Arguments

line

sf line object, The input line feature. be calculated.

end

character, Which end of the line? One of "start" or "end".

Value

sf point object with x and y coordinate value attributes