ok, thanks. I was using gdal_translate directly, better to know it can be done with otb too. But the real issue is selecting the bands upon reading, thus avoiding writing another file (and an unnecessary step). Hope the extended filename convention will be ready soon! Agus
On Tue, Dec 16, 2014 at 3:20 PM, Christophe Palmann <[email protected]> wrote: > Hi, > > I confirm that BandMathX app will do the work correctly with the expression > "im1b1;im1b2;im1b3;im1b4". > You can also try this one : "bands(im1,{1,2,3,4})" > > Regards, > Christophe. > > > Le mardi 16 décembre 2014 13:16:05 UTC+1, Julien Michel a écrit : >> >> Agus, >> >> As Guillaume pointed out in his reply, this feature of extended >> filenames does not yet exist. It is planned. For now you are stuck with >> extracting channels beforehand with ExtractROI application. You can also >> use the new bandmath I believe (BandMathX), with an expression such as >> "im1b1;im1b2;im1b3;im1b4". >> >> Julien >> >> >> >> Le 16/12/2014 13:09, Agustin Lobo a écrit : >> > How would I select bands 1 to 5 with the extended filenames convention? >> > I've tried >> > "Bert20130602AOI1NAPCAw3.tif&sdataidx=0,1,2,3,4" >> > >> > and >> > >> > "Bert20130602AOI1NAPCAw3.tif&sdataidx=0 1 2 3 4" >> > >> > But do not work >> > >> > Thanks, >> > Agus >> > >> >> >> -- >> Julien MICHEL >> CNES - DCT/SI/AP - BPI 1219 >> 18, avenue Edouard Belin >> 31401 Toulouse Cedex 09 - France >> Tel: +33 561 282 894 - Fax: +33 561 283 109 >> > -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "otb-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
