Description Usage Arguments Value
Transform sp shapefile to an sf shapefile object with
a given crs coordinate reference system. The column names are
converted to lowercase and non-trailing spaces replaced with underscores
via the janitor::clean_names function
1 | sp_transform_sf(sp, crs = 4326)
|
sp |
(sp) : The spatial polygon |
crs |
(sf) : The Coordinate Reference System (CRS) system with default value of 4326 |
(sf) : The sf converted object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.