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_
Best
–
Pedro Camilo Alcántara Concepción
Department of Forest and Wildlife Ecology
Rm. 120 Russell Labs
1630 Linden Dr.
Madison WI 53706-1598
Phone +1/608/265-9219
http:/silvis.forest.wisc.edu
On Sun, May 25, 2008 at 4:14 AM, Pedro Camilo Alcantara
<camilo@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