[GRASS-user] Exporting layer stacks

Markus Neteler neteler at osgeo.org
Sun May 25 18:14:15 EDT 2008


On Sun, May 25, 2008 at 4:14 AM, Pedro Camilo Alcantara
<camilo at pcbiol.posgrado.unam.mx> wrote:
>
> Hello list
> I am using grass to automate the calculation of a series of vegetation
> indices and I want to use a decision tree algorithm (c4.5). That algorithm
> requires me to have a layer stack with those images in a bip format. For me
> it seems that it is possible to make such layer stack using gdal, exporting
> each raster map from grass and then stack them, but I was wondering if there
> is a way to do so directly. Let say, trough r.out.gdal pointing to a group
> of rasters made with i.group. Is it possible_

I would like to see that, too. But it's not yet implemented...

Meanwhile, you could use the GDAL tools directly on the GRASS location
using the GRASS-GDAL plugin:
http://grass.osgeo.org/wiki/Compile_and_install_GRASS_and_QGIS_with_GDAL/OGR_Plugin#Usage_of_the_plugin

Through this GDAL sees GRASS maps like maps in other formats
and you could create the map stack from there.

best,
Markus


More information about the grass-user mailing list