Extract latitude and longitude from sf object
Source:R/fpr_sp_assign_latlong.R
fpr_sp_assign_latlong.Rd
Extract latitude and longitude (WSG84 CRS 4326 from sf object and add as columns.)
Arguments
- dat
sf dataframe of type `Geometry type: POINT`. Default is `NULL`.
- col_lat
Quoted character string defining the name of the column where the northing will be stored.
- col_lon
Quoted character string defining the name of the column where the easting will be stored.
See also
Other spatial operations:
fpr_sp_assign_sf_from_utm()
,
fpr_sp_assign_utm()
,
fpr_sp_gpkg_backup()