Skip to contents

This function downloads elevation data from a source such as https://play.abstreet.org/dev/data/input/shared/elevation/UK-dem-50m-4326.tif.gz or https://assets.od2net.org/input/LisboaIST_10m_4326.tif

Usage

make_elevation(
  url = NULL,
  file = "UK-dem-50m-4326.tif.gz",
  base_url = "https://play.abstreet.org/dev/data/input/shared/elevation/"
)

Arguments

url

Full URL of the elevation dataset if available

file

File name if hosted on a known site

base_url

Base URL associated with the 'file' argument