[GRASS-dev] [GRASS GIS] #798: r.in.gdal : subdataset handling

#798: r.in.gdal : subdataset handling
--------------------------+-------------------------
  Reporter: rouault | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.8.0
Component: Raster | Version: unspecified
Resolution: | Keywords: r.in.gdal
       CPU: All | Platform: All
--------------------------+-------------------------
Changes (by marisn):

* milestone: 6.5.0 => 7.8.0

Comment:

GRASS 6.5 has EOLed, but this wish is still not implemented.
r.in.gdal does not crash if subdatasets are present and prints a warning,
but still there is no option to print subdatasets.

A new flag ("-s"?) should be introduced to print subdataset identifiers
suitable for passing to input. It should work together with "-p" flag.
"-s" "-p" combination should print all subdatasets with all their bands.

A new input option "subdataset" should be introduced. It should accept
integer to indicate subdataset number for import (see gdalinfo output for
numbers). It would allow to import subdatasets without specifying them in
input parameter thus greatly simplifying work with subdatasets.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/798#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>