#2507 closed enhancement (fixed)
r.in.gdal accepts multiple bands in band option
Reported by: | lucadelu | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.2.0 |
Component: | Raster | Version: | unspecified |
Keywords: | r.in.gdal | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
In r.in.gdal could be really useful to have band option as multiple input to import several bands (but not all) in only one command instead run it in a for loop.
Change History (4)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Replying to mmetz:
Replying to lucadelu:
In r.in.gdal could be really useful to have band option as multiple input to import several bands (but not all) in only one command instead run it in a for loop.
I do not see how a simple for loop could be an obstacle (not more than 3 lines in bash or python). The only advantage I see is that a group is automatically created by
r.in.gdal
if several bands are imported.Selective multi-band import added in r63378, please test.
Tested and it works, thanks.
I leave open the ticket waiting the backport
Replying to lucadelu:
I do not see how a simple for loop could be an obstacle (not more than 3 lines in bash or python). The only advantage I see is that a group is automatically created by
r.in.gdal
if several bands are imported.Selective multi-band import added in r63378, please test.