[gdal-dev] Layerstack multiple images, of different extents and variable number of bands

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Tue Jan 23 11:56:13 PST 2024


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ä: lefsky at gmail.com <lefsky at gmail.com>
Lähetetty: tiistai 23. tammikuuta 2024 21.51
Vastaanottaja: Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>
Kopio: gdal-dev at 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.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at 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-bounces at lists.osgeo.org<mailto:gdal-dev-bounces at lists.osgeo.org>> Puolesta lefsky--- via gdal-dev
Lähetetty: tiistai 23. tammikuuta 2024 19.01
Vastaanottaja: gdal-dev at lists.osgeo.org<mailto:gdal-dev at 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240123/3252993d/attachment.htm>


More information about the gdal-dev mailing list