Re: [gdal-dev] GDAL 3.4.2: gdalbuildvrt band selection bug

2022-03-30 Thread Pete Bunting via gdal-dev
Thanks for the fix Even. > On 30 Mar 2022, at 14:21, Even Rouault wrote: > > Pete, > > ouch, confirmed, and fix queued in https://github.com/OSGeo/gdal/pull/5547 . > And the commit you mention was indeed the culprit. > > Potential workarounds (besides generating the VRT on GDAL <= 3.4.0) >

Re: [gdal-dev] GDAL 3.4.2: gdalbuildvrt band selection bug

2022-03-30 Thread Even Rouault
Pete, ouch, confirmed, and fix queued in https://github.com/OSGeo/gdal/pull/5547 . And the commit you mention was indeed the culprit. Potential workarounds (besides generating the VRT on GDAL <= 3.4.0) - if using gdalbuildvrt on a single source, you could just use "gdal_translate

Re: [gdal-dev] GDAL 3.4.2: gdalbuildvrt band selection bug

2022-03-30 Thread Rahkonen Jukka (MML)
. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Pete Bunting via gdal-dev Lähetetty: keskiviikko 30. maaliskuuta 2022 13.59 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] GDAL 3.4.2: gdalbuildvrt band selection bug Hi, With the release of gdal 3.4.2

[gdal-dev] GDAL 3.4.2: gdalbuildvrt band selection bug

2022-03-30 Thread Pete Bunting via gdal-dev
Hi, With the release of gdal 3.4.2, gdalbuildvrt seems to have a bug when selecting image bands. It works OK when band 1 is specified but if other band(s) in the image are used without band 1 then it seg faults. I noticed there were some changes around checking bands in the release notes