FedData (version 2.0.8)

download_ned_tile: Download a zipped tile from the 1 (~30 meter) or 1/3 (~10 meter) arc-second National Elevation Dataset.

Description

Tiles are specified by a resolution, northing, and westing; northing and westing refer to the northwest corner of each NED tile, in degrees; tiles are 1x1 degree. Tiles are downloaded in zipped ESRI ArcGrid format. downloadNED returns the path to the downloaded zip file.

Usage

download_ned_tile(res = "1", tileNorthing, tileWesting, raw.dir)

Arguments

res
A character string representing the desired resolution of the NED. "1" indicates the 1 arc-second NED (the default), while "13" indicates the 1/3 arc-second dataset.
tileNorthing
An integer representing the northing (latitude, in degrees north of the equator) of the northwest corner of the tile to be downloaded.
tileWesting
An integer representing the westing (longitude, in degrees west of the prime meridian) of the northwest corner of the tile to be downloaded.
raw.dir
A character string indicating where raw downloaded files should be put. The directory will be created if missing. Defaults to "./RAW/NED/".

Value

A character string representing the full local path of the downloaded directory.