NED data are available at resolutions of 1 arc-second (about 30 meters), 1/3 arc-second (about 10 meters), and in limited areas at 1/9 arc-second (about 3 meters).
NLCD data are available for years 2001, 2006, and 2011 (see nlcd_dataset option) at 30m resolution and include Land Cover, Percent Developed Imperviousness, and Percent Tree Canopy (see nlcd_subset option).
NAIP is available at 1 m resolution.
If the i flag is set, only information about data meeting the input parameters is displayed without downloading the data.
By default, downloaded files are kept in the specified output_direcory, so that they can be reused in case different computational region is required. However, unzipped files and imported rasters before patching are removed. If the k flag is set, extracted files from compressed archives are also kept within the download directory after the import.
By default, resampling method is chosen based on the nature of the dataset, bilinear for NED and nearest for NLCD and NAIP. This can be changed with option resampling_method.
g.region raster=elevation r.in.usgs product=ned ned_dataset=ned19sec output_directory=/tmp output_name=ned -i
USGS file(s) to download: ------------------------- Total download size: 826.95 MB Tile count: 4 USGS SRS: wgs84 USGS tile titles: USGS NED ned19_n35x75_w078x75_nc_statewide_2003 1/9 arc-second 2012 15 x 15 minute IMG USGS NED ned19_n36x00_w078x75_nc_statewide_2003 1/9 arc-second 2012 15 x 15 minute IMG USGS NED ned19_n35x75_w079x00_nc_statewide_2003 1/9 arc-second 2012 15 x 15 minute IMG USGS NED ned19_n36x00_w079x00_nc_statewide_2003 1/9 arc-second 2012 15 x 15 minute IMG ------------------------- To download USGS data, remove i flag, and rerun r.in.usgs.We proceed with the download:
r.in.usgs product=ned ned_dataset=ned19sec output_directory=/tmp output_name=ned r.colors map=ned_small color=grey
g.region n=224649 s=222000 w=633000 e=636000 r.in.usgs product=ned ned_dataset=ned19sec output_directory=/tmp output_name=ned_small
g.region n=224649 s=222000 w=636000 e=639000 r.in.usgs product=naip output_directory=/tmp output_name=ortho
g.region n=224649 s=222000 w=639000 e=642000 r.in.usgs product=nlcd nlcd_dataset=nlcd2011 nlcd_subset=landcover output_directory=/tmp output_name=nlcd