[Gdal-dev] Re: gdalwarp -wo init_dest issues

John Mitchell mitchelljj98 at gmail.com
Tue Oct 23 15:40:15 EDT 2007


Hi,

Regarding the email listed below I was able to figure out issue "a" by
having the RGB value separated by commas (-wo INIT_DEST=226,1,226) which now
displays the  "226 1 226" pixels for areas that don't have any data.
I still can't figure out issue "b".

John Mitchell

On 10/23/07, John Mitchell <mitchelljj98 at gmail.com> wrote:
>
> 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




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


More information about the Gdal-dev mailing list