On Feb 14, 2010, at 11:20 AM, Glynn Clements wrote:
> Michael Barton wrote: > >>>> r.external.out and r.colors.out do not generate the GUI when run from >>>> the command line. >>> >>> Both generate a GUI when run with --ui. r.external.out doesn't have >>> any required arguments (mainly due to -f), while r.colors.out has a >>> bug: >> >> It is unclear how r.external.out works. Does it make a GDAL-compatible >> file appear as a GRASS raster in a mapset? If so, shouldn't this be >> r.external.in? (i.e., it makes an external raster usable by GRASS) > > r.external.out causes new raster maps to be created as files via GDAL. > > Whereas r.external turns a specific file into a GRASS raster map, > r.external.out enables a mode whereby all new rasters are created as > files via GDAL. > > It creates a key-value file named "GDAL" in the mapset directory > containing various parameters (output directory, file format, creation > parameters). If this file is present, Rast_open_*_new() and > Rast_put_*_row() go via GDAL. So the files can be opened and used subsequently as GRASS files even though they are created in a non-GRASS format (e.g., geotiff)? Michael_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
