[GRASS-dev] ps3.map: join two rasters

Hamish hamish_b at yahoo.com
Wed Feb 18 02:35:30 EST 2009


Benjamin:
> would you be willing to put some tutorial on the GRASS Wiki to show
> users how to generate such maps with ps3.map?
 
->  http://grass.osgeo.org/wiki/Ps.map_scripts#Script_examples


Jorge:
> > It is interesting the posibility of gradient legend in
> > CELL map;

my crappy work around for that was to run

r.mapcalc "float_map = float(cell_map)"
r.colors float_map rast=cell_map

and then use the float_map with ps.map.

> > But the better improve (just run without problems) is
> > merge two raster maps

and the previous crappy work around here was to use r.mapcalc's r#map,
g#map, b#map operators and patch the two maps for each band.

Also 'd.rast -o'; set GRASS_WIDTH,GRASS_HEIGHT to region size, then
run 'd.out.file format=geotiff' + r.in.gdal is another way.


Hamish



      



More information about the grass-dev mailing list