Re: [GRASS-dev] problem with r.mapcalc in GRASS 7
On Jun 25, 2010, at 10:07 PM, William Kyngesburye wrote: On Jun 25, 2010, at 10:59 PM, Barton Michael wrote: I tried this and got the same error. make clean first? - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ I just did an svn update, make distclean, and make GDAL_DYNAMIC= There has been an update to r.mapcalc 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 Michael___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] problem with r.mapcalc in GRASS 7
Barton Michael wrote: I just did an svn update, make distclean, and make GDAL_DYNAMIC= There has been an update to r.mapcalc That was r42659, which generates an error if you use both expression= and file=. It's unrelated to the GDAL issues (which are in lib/raster rather than r.mapcalc per se). 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). -- Glynn Clements gl...@gclements.plus.com ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] problem with r.mapcalc in GRASS 7
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___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev