Marcello wrote: > > But there is no way to avoid r.mapcalc, is there?
I doubt you'd get very much faster or more efficient even by writing your own C module. (it would probably only take you a minute to create a r.zero module out of the doc/raster/r.example code; just change "return x;" to "return 0;" and compile. > r.mapcalc "initialized_map=if(base_map>999999,1,0)" ... Moritz > r.mapcalc initialized_map=0 tip: to avoid all your scripts breaking when you want to use grass7, always add a space around the '=' in r.mapcalc. r.mapcalc "initialized_map = 0" Hamish _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
