roberto caselli wrote: > I need to test a part of my module and I'd like to know if it is > possible to build a very little raster map starting with some data I'd > send in input in that script (like elevations, areas, number of rows > and cols and so on).
for an example using g.region + r.mapcalc, see the v.colors script in grass-addons: http://trac.osgeo.org/grass/browser/grass-addons/vector/v.colors/ # Populate a GRASSRGB column with a color map and data column # Helper script for thematic mapping tasks look for: # setup internal region # create dummy raster map Hamish ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev