fwa_add_gm_elevation_to_point.Rd
Add Google Maps Elevation to Point
fwa_add_gm_elevation_to_point(
x,
chunk_size = 300L,
digits = 7,
key = Sys.getenv("GOOGLE_MAPS_ELEVATION_API_KEY")
)
An sf object of spatial points.
The number of rows to include in each API query.
The number of digits to round the latitude and longitude by before querying the elevation from the API
A string of the Google Maps Elevation API key.
An updated version of x with numeric column elevation.
if (FALSE) {
rm <- fwa_add_rms_to_blk(data.frame(blk = 356308001))
fwa_add_gm_elevation_to_point(rm)
}