rename_geometry | R Documentation |
The geometry column of sf object can have inconsistent names (e.g. geom, geometry, etc). This function renames the geometry attribute to a given name.
rename_geometry(g, name)
g |
The sf object whose geometry you want to change |
name |
The name you want the geometry column renamed to |
the sf object g with the geometry column name changed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.