Hi, I recommend to study gdalbuildvrt https://gdal.org/programs/gdalbuildvrt.html and consider if it might be good for you with the -separate option.
-Jukka Rahkonen- Lähettäjä: lef...@gmail.com <lef...@gmail.com> Lähetetty: tiistai 23. tammikuuta 2024 21.51 Vastaanottaja: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi> Kopio: gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] Layerstack multiple images, of different extents and variable number of bands You've interpreted that correctly. On Tue, Jan 23, 2024 at 12:13 PM Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Hi, Please clarify what is the desired result. A multiband image that covers the union of extents of all the input images, with a number of bands that is the sum of bands in all the inputs or what? -Jukka Rahkonen- Lähettäjä: gdal-dev <gdal-dev-boun...@lists.osgeo.org<mailto:gdal-dev-boun...@lists.osgeo.org>> Puolesta lefsky--- via gdal-dev Lähetetty: tiistai 23. tammikuuta 2024 19.01 Vastaanottaja: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Aihe: [gdal-dev] Layerstack multiple images, of different extents and variable number of bands I've been incorporating gdal into my processing pipelines and have a question about a feature. I need to be able to layer stack multiple images with different extents and varying numbers of bands, usually exceeding 1. I haven't been able to find a single command to do this in gdal. Am I missing something? If there is no such feature, has anyone developed a script out there that can robustly do all of those things (i.e. with checking for violation of assumptions about files and error handling)? Michael -- Michael Lefsky (He/His) Home Location: HVHF+GH Cell: 970-980-9036 http://www.researcherid.com/rid/A-7224-2009 “for being prematurely, and worse, intuitively right — there’s a heavy price. But for being wrong — no, not so long as you’re wrong in a pack." Gary Brecher / Portis *I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit; http://www.utemountainutetribe.com/ http://www.cheyennenation.com/ https://cheyenneandarapaho-nsn.gov/ https://native-land.ca/ -- Michael Lefsky (He/His) Home Location: HVHF+GH Cell: 970-980-9036 http://www.researcherid.com/rid/A-7224-2009 “for being prematurely, and worse, intuitively right — there’s a heavy price. But for being wrong — no, not so long as you’re wrong in a pack." Gary Brecher / Portis *I acknowledge that I live and work on stolen land. This is the land of the Cheyenne, Arapaho, Ute, and Ocheithi Sakowin people. To learn more about these nations, please visit; http://www.utemountainutetribe.com/ http://www.cheyennenation.com/ https://cheyenneandarapaho-nsn.gov/ https://native-land.ca/
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev