[gdal-dev] using GDAL to make a multi band image from several one-band images

Vincent Schut schut at sarvision.nl
Thu Jan 3 04:16:32 EST 2008


Yann Chemin wrote:
> Hello,
> 
> I would like to use GDAL (in Python) for doing something like this.
...snip...
> The idea is to create a new file from an already existing one-band
> file, only thing is to have it multi-band.
> 
> Maybe It is not the best way to start doing it...

Hello Yann,

no need to use gdal/python for this, you can do this with the
gdal_merge.py tool that comes with gdal. Use the -separate option, and
it will merge your single-band input files into a multiband output file.
See http://gdal.org/gdal_merge.html for more info.

Regards,
Vincent.
> 
> Could anybody help please?
> thanks
> Yann
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 



More information about the gdal-dev mailing list