[gdal-dev] Image compositing in VRT files

Jorge Arévalo jorge.arevalo at deimos-space.com
Fri Feb 11 06:34:43 EST 2011


On Fri, Feb 11, 2011 at 12:23 PM, Alain Cembro <acembro at yahoo.com> wrote:
> Hello,
> I have two sets of tiles.
> The first one contain RGB tiles, let us call it" orthophotos".
> The first one contain RGBA tiles, let us call it "roads" (with transparent background)
> Is it possible to write a VRT file, so that the resulting image would have only 3 channels RGB, and show the roads on the orthophotos ?
>
> Regards,
> Alain
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>

Hello Alain,

You probably can use gdal_vrtmerge.py script in this way:

gdal_vrtmerge.py -o out.vrt <list of tiff files>

You can modify the out.vrt file to include only the bands you're interested in.

Best regards,

-- 
Jorge Arévalo
Internet & Mobilty Division, DEIMOS
jorge.arevalo at deimos-space.com
http://es.linkedin.com/in/jorgearevalo80
http://mobility.grupodeimos.com/
http://www.twitter.com/jorgeas80
http://gis4free.wordpress.com
http://geohash.org/ezjqgrgzz0g


More information about the gdal-dev mailing list