coords_to_google {GISSB} | R Documentation |
Convert coordinates to Google Maps
Description
The function coords_to_google
can be used to convert coordinates of an sf
object to a format that is easy to copy and paste into Google Maps.
Usage
coords_to_google(coords, crs_out = 25833)
Arguments
coords |
An |
crs_out |
Chosen coordinate reference system (CRS) for the geometry column of the returned |
Value
An sf
object with a new column added (coords_google
), and an addtional sf
geometry column with the chosen CRS.
Examples
address_to_coords(zip_code = "0185", address = "Schweigaards gate 10") %>%
coords_to_google()
[Package GISSB version 1.1 Index]