If you find this document usefull, please consider ordering a printed hardcopy!



1 Exporting raster formats

In table 10 those modules are listed, which can export GRASS raster data into different external formats. Besides this formats of other GIS systems and also special exchange formats of remote sensing data belong to these modules.


Table 10: A range of modules for exporting raster data
GRASS Export
Module commands Raster formats
r.out.arc ARC/INFO ASCII GRID1
r.out.ascii ASCII
r.out.mpeg MPEG
r.out.png PNG (see also d.mon/PNG DRIVER with True Color Support)
r.out.pov POV
r.out.ppm PPM/PNM
r.out.tiff TIFF/TFW
r.out.bin Binary Array
r.out.gridatb GRIDATB.FOR (TOPMODEL)
r.out.gdal Over 20 important formats are supported (see paragraph: Export with GDAL)

1 Note: The Arc Toolbox in ArcGIS supports the import of ASCII-grids: Import to Raster -> ASCII to Grid. The result can be selected in ArcCatalog. Be aware that the extension Spatial Analyst must be present and activated.

As mentioned in chapter 5.1 for exporting raster data the special characteristic of GRASS has to be considered that raster maps are always exported with the current resolution and only for the just determined region (current region). Thus, it is always advisable to ascertain in the forfront with the command g.region -p, if the present settings of the 'region' are correct before exporting, importing, and analyzing raster data.

Export with GDAL

The module r.out.gdal is able to export GRASS raster data into different formats. An appropriate list can be displayed with the command r.out.gdal -l.

In order to use this module it is presently necessary to install GDAL with GRASS-Support. For this purpose the ready-to-install binary-packages need to be installed. If no binary-package is available for your platform, it needs to be built from source. Please obtain detailed information about this topic from GDF Hannover bR.


If you find this document usefull, please consider ordering a printed hardcopy!


© 2005, GDF Hannover bR - Solutions for spatial data analysis and remote sensing
Last modified: 29-08-2005