GRASS logo

NAME

r.external.out - Defines raster output format utilizing GDAL library.

KEYWORDS

raster, export, external

SYNOPSIS

r.external.out
r.external.out help
r.external.out [-frp] directory=path [extension=string] format=string [options=string[,string,...]] [--verbose] [--quiet]

Flags:

-f
List supported formats and exit
-r
Cease using GDAL and revert to native output
-p
Print current status
--verbose
Verbose module output
--quiet
Quiet module output

Parameters:

directory=path
Name of output directory
extension=string
Extension for output files
format=string
Format of output files
Options: VRT,GTiff,NITF,HFA,ELAS,AAIGrid,DTED,PNG,JPEG,MEM,GIF,XPM,BMP,PCIDSK,PCRaster,ILWIS,SRTMHGT,Leveller,Terragen,GMT,netCDF,HDF4Image,PNM,ENVI,EHdr,PAux,MFF,MFF2,BT,IDA,ERS,JPEG2000,FIT,RMF,RST,INGR,GSAG,GSBG,USGSDEM,ADRG
options=string[,string,...]
Creation options

DESCRIPTION

r.external.out instructs GRASS to write raster maps as data files (e.g. GeoTIFF) using GDAL.

EXAMPLE

The module r.external.out can be used along with r.external to process external geodata in GRASS while writing out the results directly in GeoTIFF:
# register GeoTIFF file in GRASS database:
r.external terra_lst1km20030314.LST_Day.tif out=modis_celsius

# define output directory for GRASS calculation results:
r.external.out $HOME/gisoutput/

# do something (here: extract pixels > 20°C), write output directly as GeoTIFF:
r.mapcalc "warm.tif = if(modis_celsius > 20, modis_celsius, null() )"

# use the result elsewhere
qgis $HOME/gisoutput/warm.tif

SEE ALSO

r.in.gdal, r.out.gdal, r.external

REFERENCES

GDAL Pages: http://www.gdal.org/

AUTHOR

Glynn Clements

Last changed: $Date: 2008-08-15 08:16:42 +0200 (Fri, 15 Aug 2008) $


Main index - raster index - Full index

© 2003-2011 GRASS Development Team