Opened 15 years ago
Closed 15 years ago
#914 closed enhancement (fixed)
Add multi-channel "import" to r.external (as in r.in.gdal)
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.5.0 |
Component: | Raster | Version: | svn-trunk |
Keywords: | Cc: | ||
CPU: | All | Platform: | All |
Description
Currently, r.external "imports" only the first channel, not all available channels as r.in.gdal does:
r.in.gdal 014_03.jpg out=mymap -o WARNING: Over-riding projection check 100% r.in.gdal complete. Raster map <dd.red> created. 100% r.in.gdal complete. Raster map <dd.green> created. 100% r.in.gdal complete. Raster map <dd.blue> created.
The behaviour of r.in.gdal is more user-friendly, could r.external be improved?
thanks, Markus
Attachments (2)
Change History (6)
by , 15 years ago
Attachment: | r.external.patch added |
---|
follow-up: 2 comment:1 by , 15 years ago
Replying to neteler:
Currently, r.external "imports" only the first channel, not all available channels as r.in.gdal does:
The behaviour of r.in.gdal is more user-friendly, could r.external be improved?
Try the attached patch (untested).
follow-up: 3 comment:2 by , 15 years ago
Replying to glynn:
Replying to neteler:
Currently, r.external "imports" only the first channel, not all available channels as r.in.gdal does:
The behaviour of r.in.gdal is more user-friendly, could r.external be improved?
Try the attached patch (untested).
As always, it works out of the box :) Also tested with appropriate modifications in 6.4.
comment:3 by , 15 years ago
Replying to neteler:
Replying to glynn:
Replying to neteler:
Currently, r.external "imports" only the first channel, not all available channels as r.in.gdal does:
The behaviour of r.in.gdal is more user-friendly, could r.external be improved?
Try the attached patch (untested).
As always, it works out of the box :) Also tested with appropriate modifications in 6.4.
Committed to trunk in r40961.
Link all bands by default