[Gdal-dev] GDALWarp - NO_DATA Replace?

Jason Hughes jason.hughes at elantech-inc.com
Thu Nov 11 18:31:57 EST 2004


Is there anyway to specify a pixel value to replace while warping.  I want a 
way to differentiate between pixels in my image and the background that is 
created from warping.

I'm overlaying NITF's on maps and I would like a way to not paint the 
background.  So as a workaround  I'm making an intermediate file to replace 
the values that equal my background color myself using GDALCreateCopy().  I 
then make a third file to warp the image.  This seems terribly inefficient. 
Your input is much appreciated.

Thanks,
Jason Hughes 






More information about the Gdal-dev mailing list