get_ned_tile
returns a RasterLayer
cropped within the specified template
.
If template is not provided, returns the entire NED tile.
get_ned_tile(template = NULL, res = "1", tileNorthing, tileWesting,
raw.dir)
A RasterLayer
cropped within the specified template
.
A Raster* or Spatial* object to serve as a template for cropping. If missing, entire tile is returned.
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.
An integer representing the northing (latitude, in degrees north of the equator) of the northwest corner of the tile to be downloaded.
An integer representing the westing (longitude, in degrees west of the prime meridian) of the northwest corner of the tile to be downloaded.
A character string indicating where raw downloaded files should be put. The directory will be created if missing. Defaults to './RAW/NED/'.