Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
The user can save the tabular output to a file by using the UNIX redirection mechanism (>); for example, the user might save a report on the soils map layer in a file called soil.txt by typing:
r.info map=soils > soil.txt
Some standards (ISO-C90) and compilers do not support the 'long long' type as a 64-bit type. In the case that GRASS GIS was built with such a compiler, an accuracy message may be displayed in the output of r.info after Total Cells.
r.info slope +----------------------------------------------------------------------------+ | Map: slope Date: Tue Nov 7 01:11:23 2006 | | Mapset: PERMANENT Login of Creator: helena | | Location: nc_spm_08_grass7 | | DataBase: /grassdata | | Title: South-West Wake county: slope in degrees ( slope_ned10m ) | | Timestamp: none | |----------------------------------------------------------------------------| | | | Type of Map: raster Number of Categories: 255 | | Data Type: FCELL | | Rows: 1350 | | Columns: 1500 | | Total Cells: 2025000 | | Projection: Lambert Conformal Conic | | N: 228500 S: 215000 Res: 10 | | E: 645000 W: 630000 Res: 10 | | Range of data: min = 0 max = 38.68939 | | | | Data Source: | | raster elevation file elev_ned10m | | | | | | Data Description: | | generated by r.slope.aspect | | | | Comments: | | slope map elev = elev_ned10m | | zfactor = 1.00 format = degrees | | min_slope = 0.000000 | | | +----------------------------------------------------------------------------+
Output in shell script style, useful for eval (eval `r.info -g slope`):
r.info -g slope north=228500 south=215000 east=645000 west=630000 nsres=10 ewres=10 rows=1350 cols=1500 cells=2025000 datatype=FCELL ncats=255
Output the map data range:
r.info -r slope min=0 max=38.68939
Output the extended map data metadata in shell style:
r.info -e slope map=slope mapset=PERMANENT location=nc_spm_08_grass7 database=/grassdata date="Tue Nov 7 01:11:23 2006" creator="helena" title="South-West Wake county: slope in degrees (slope_ned10m)" timestamp="none" units="none" vdatum="none" source1="raster elevation file elev_ned10m" source2="" description="generated by r.slope.aspect" comments="slope map elev = elev_ned10mzfactor = 1.00 format = degreesmin_slp_allowed = 0.000000"
Available at: r.info source code (history)
Latest change: Sun Feb 7 22:48:02 2021 in commit: cf1720174196715f01d0fd2bac16d8265a4ee821
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current 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