[Gdal-dev] gdalwarp -wo init_dest issues

John Mitchell mitchelljj98 at gmail.com
Tue Oct 23 14:32:48 EDT 2007


Hi,

I am trying to generate a mosaic which initializes the newly created geotiff
file with an RGB value of "226 1 226" and then to replace those areas with
input geotiff file where they exist and keeping the initial value of "226 1
226" where they don't exist.
I have run the following command:
gdalwarp.exe -wo INIT_DEST="226 1 226" -rc -s_srs EPSG:4326 -t_srs EPSG:4326
inputgeotiff1.tif inputgeotiff2.tif outputgeotiff.tif

The resulting output geotiff has two issues:
a.) The initial background value is an RGB of "226 226 226" instead of "226
1 226"
b.) The first geotiff image called inputgeotiff1.tif is not displayed and
the area where it is supposed to be displayed has the initial background
image instead.   Note:  The second input geotiff image is correctly
displayed replacing the initial background image.

Thanks,

-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20071023/a8057e0f/attachment.html


More information about the Gdal-dev mailing list