Skip to contents

Unnest POINT geometries from LINESTRINGS

Usage

st_unnest_coordinates(x)

Arguments

x

a sf object containing LINESTRING geometries.

Value

A df where each row contains the x1, y1, x2, and y2

coordinates for a line.