Raster modules should creat a group in case of multiple outputs
|Reported by:||huhabla||Owned by:||huhabla|
|Keywords:||raster, multiple, output, group, temporal, basename, imagery||Cc:||huhabla|
While implementing WPS support for grass7 i stuck in handling multiple outputs of raster modules. This is also an issue for the graphical work-flow-modeler which should be able to connect grass modules to each other in case of compatible inputs and outputs (like dx does).
There is currently (please correct me if i am wrong) no convenient generic way to automatically recognize multiple raster outputs (r.texture, i.pca ... ), except r.in.gdal which creates a group for imported maps with multiple bands.
I would like to suggest that every module which creates multiple raster outputs should create a group in the way which r.in.gdal does. Multiple output parameter should be marked by setting
opt->multiple=YES. It would be meaningful to implement this as default option.
I would like to start this kind of enhancement if there are no objections against it.