View source: R/findGeometryColumns.R
findGeometryColumns | R Documentation |
Function to determine the names of the sf geometry column(s) in a dataframe.
findGeometryColumns(sf_dfr, verbose = FALSE)
sf_dfr |
|
verbose |
|
The input dataframe does not have to be a simple features (sf) dataframe
(i.e., one with class = "sf") to contain sf geometry columns. For example, a
sf dataframe (class = "sf") with multiple geometry columns on which st_drop_geometry
is ca
is called will have the "active" geometry column dropped and the resultant class will be
"tbl_df", but the other geometry columns (those that were not the active one) will not have been dropped.
vector of column names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.