[GRASS-user] Re: r.mapcalc changes color table

2009-11-27 Thread Hermann Peifer
Glynn Clements wrote: Tim Michelsen wrote: I have a large georeferenced digital map. I successfully imported it into GRASS. Now I would like to cut only a small rectangle -- my investigation area -- out of this large map. I used the following approach: 1) import the TIFF 2) select the part

[GRASS-user] Re: r.mapcalc changes color table

2009-11-27 Thread Tim Michelsen
First, thanks to all who responded. I will try and apply that later. 6) use r.mapcalc to cut: r.mapcalc cut=if(boundary_raster, large_map, null()) Replace step 6 with: g.copy rast=boundary_raster,MASK r.resample input=large_map output=cut g.remove rast=MASK Can someone

Re: [GRASS-user] Re: r.mapcalc changes color table

2009-11-27 Thread Glynn Clements
Hermann Peifer wrote: I have a large georeferenced digital map. I successfully imported it into GRASS. Now I would like to cut only a small rectangle -- my investigation area -- out of this large map. I used the following approach: 1) import the TIFF 2) select the part of

Re: [GRASS-user] Re: r.mapcalc changes color table

2009-11-27 Thread Glynn Clements
Tim Michelsen wrote: 6) use r.mapcalc to cut: r.mapcalc cut=if(boundary_raster, large_map, null()) Replace step 6 with: g.copy rast=boundary_raster,MASK r.resample input=large_map output=cut g.remove rast=MASK Can someone perhaps explain why steps 4 and 5 are