sf_lines_to_df | R Documentation |
Adds the coordinates of an sf LINESTRING object as columns and rows
sf_lines_to_df(
lines_sf,
coord_colnames = c("shape_pt_lon", "shape_pt_lat"),
remove_geometry = TRUE
)
lines_sf |
sf object |
coord_colnames |
names of the new columns (existing columns are overwritten) |
remove_geometry |
remove sf geometry column? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.