Generate an elevation matrix from boundary box

get_elevdata_from_bbox(bbox, type = c("SRTM", "EUDEM"), file = NULL)

Arguments

bbox

Boundaries box as generated by get_bbox_from_gpx_table

type

Whether SRTM or EUDEM data should be used for elevation profiles. For EUDEM data you need to download the right tif file at: https://land.copernicus.eu/imagery-in-situ/eu-dem/eu-dem-v1.1

file

In case of EUDEM data provide a link to the GeoTIFF file

Value

A matrix with the latitude in columns and the longitude in rows and the elevation as values (in m)