sfc_as_cols | R Documentation |
Convenience function to convert sfc to lat/lon columns within a data.frame.
sfc_as_cols(x, geometry, names = c("x", "y"))
x |
An |
names |
Names for longitude and latitude columns |
Originally written by Josh London here -> https://github.com/r-spatial/sf/issues/231
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.