[GRASS-user] composite raster maps
bain at toraval.fr
Mon Nov 25 03:23:40 PST 2013
Thank you much Markus,
never noticed this mapcalc operator before, great !
Le lundi 25 novembre 2013 à 12:10 +0100, Markus Metz a écrit :
> On Mon, Nov 25, 2013 at 7:22 AM, Vincent Bain <bain at toraval.fr> wrote:
> > Hello there,
> > I just realize I've used r.composite for ages without wondering how I
> > could perform the reverse task. The thing is I ran r.composite on a 3
> > band geotiff orthoimage, dropped the initial .red, .green and .blue
> > rasters, and I would need them now in order to run r.out.vtk with the
> > rgbmaps argument. Dummy...
> You can use the # operator of r.mapcalc:
> r.mapcalc "map.red = r#map"
> r.mapcalc "map.green = g#map"
> r.mapcalc "map.blue = b#map"
> Markus M
> > A quick glance at the composite raster color table makes me think it
> > might be quite easy to do. Is there a command for this opération or
> > should I try to write a script to do the job ?
> > Thank you,
> > Vincent
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user