st_linestring_add_endpoints: Add start and end points to a sf linestring object

View source: R/linestring_endpoints.R

st_linestring_add_endpointsR Documentation

Add start and end points to a sf linestring object

Description

Add start and end points to a sf linestring object

Usage

st_linestring_add_endpoints(shp_segments)

Arguments

shp_segments

, sf object

Value

shp_segments , sf object with 4 new columns start_x,start_y, end_x,end_y


cgauvi/sfSpHelpers documentation built on June 30, 2023, 10:48 p.m.