ps_sfc_to_coords | R Documentation |
Convert sfc (geometry) to pair of coordinates column.
ps_sfc_to_coords(
x,
sfc_name = ps_active_sfc_name(x),
X = "X",
Y = "Y",
Z = "Z"
)
x |
The object with columns |
sfc_name |
A string of the sfc name. |
X |
A string of the name of the X coordinate. |
Y |
A string of the name of the Y coordinate. |
Z |
A string of the name of the Z coordinate. |
The modified object with the sfc column removed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.