Arguments
template
A Raster* or Spatial* object to serve
as a template for cropping. If missing, entire tile is returned.
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/".