FedData (version 2.5.6)

download_nlcd_tile: Download a zipped tile from the National Land Cover Database.

Description

Tiles are 3x3 degree. Tiles are downloaded in zipped geotiff format. download_nlcd_tile returns the path to the downloaded zip file.

Usage

download_nlcd_tile(year = 2011, dataset = "landcover", tileName,
  raw.dir)

Arguments

year

An integer representing the year of desired NLCD product. Acceptable values are 2011 (default), 2006, and 2001.

dataset

A character string representing type of the NLCD product. Acceptable values are landcover' (default), 'impervious', and 'canopy'.

tileName

An character string representing tile to be downloaded. Will be of the form 'NxxWxxx', with the 'x' values as numbers.

raw.dir

A character string indicating where raw downloaded files should be put. The directory will be created if missing. Defaults to './RAW/NLCD/'.

Value

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