R/elevation.R
ps_elevation_google.Rd
Add Z column to sfc based on google maps
ps_elevation_google( x, sfc_name = ps_active_sfc_name(x), Z = "Z", key = Sys.getenv("GOOGLE_MAPS_ELEVATION_API_KEY") )
The sf object.
A string of the sfc column name.
A string of the name of the Z coordinate.
The string of the google maps elevation api key.
The sf object with a Z column of the elevation in metres.