FedData (version 2.5.6)

get_ned_tile: Download and crop tile from the 1 (~30 meter) or 1/3 (~10 meter) arc-second National Elevation Dataset.

Description

get_ned_tile returns a RasterLayer cropped within the specified template. If template is not provided, returns the entire NED tile.

Usage

get_ned_tile(template = NULL, res = "1", tileNorthing, tileWesting,
  raw.dir)

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/'.

Value

A RasterLayer cropped within the specified template.