Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
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).
NAIP is available at 1 m resolution.
Lidar data is available only for part of the US but there can be multiple spatially overlapping datasets from different years. All point clouds will be imported as points using v.in.pdal and then patched and interpolated with v.surf.rst. In some cases, lidar point clouds do not have SRS information, use input_srs to specify it (e.g. "EPSG:2264"). If multiple tiles from different years are available, use title_filter to filter by their titles (e.g. "Phase1"). Use i flag to list the tiles first.
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 a user cache directory according to
the operating system standards.
These files can be reused in case a different, but overlapping, 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
cache directory after the import.
The location of the cache directory depends on the operating system.
You can clear the cache by deleting the directory.
Where this directory is depends on operating system,
for example on Linux, it is under ~/.cache
,
on macOS under ~/Library/Caches
,
and on Microsoft Windows under the Application Data directory.
If you have limited space or other special needs, you can set
output_directory to a custom directory,
e.g., /tmp
on Linux.
The custom directory needs to exist before calling this module.
By default, resampling method is chosen based on the nature of the dataset, bilinear for NED and nearest for NAIP. This can be changed with option resampling_method.
g.region raster=elevation r.in.usgs product=ned ned_dataset=ned19sec 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_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_name=ned_small
/tmp
by an existing path suitable
for your operating system and needs):
g.region n=224649 s=222000 w=636000 e=639000 r.in.usgs product=naip output_directory=/tmp output_name=ortho
Anna Petrasova, NCSU GeoForAll Lab
Vaclav Petras, NCSU GeoForAll Lab
Available at: r.in.usgs source code (history)
Latest change: Wed Nov 24 16:16:14 2021 in commit: 6f7667e735134b7974e7a2bafde60130efcf98dd
Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual