[GRASS-dev] problem with r.mapcalc in GRASS 7

Barton Michael Michael.Barton at asu.edu
Sat Jun 26 20:59:08 EDT 2010



On Jun 26, 2010, at 4:23 PM, Glynn Clements wrote:

>> Now I get a different error
>> 
>> GRASS 7.0.svn (Spearfish60_test):~ > r.mapcalc "newmap2 = elevation.dem*2"
>> ERROR 1: TIFFOpen:/Users/Shared/grassdata/Spearfish60_test/PERMANENT/gdal/newmap2: Not a directory
>> ERROR: Unable to create <newmap2> dataset using <GTiff> driver
> 
> The error indicates that you have have enabled output via GDAL
> (r.external.out). Use "r.external.out -r" to revert to native output,
> or use "r.external.out -p" to check your settings.
> 
> If you want TIFF output, you should probably set the extension to
> ".tif" or ".tiff" ("r.external.out ... extension=.tif").

That did the trick. I didn't know r.external.out was enabled. I must have enabled it in previous versions to test. But apparently it was not working correctly. Maybe I need to try it again and check the settings.

Michael


More information about the grass-dev mailing list