[Gdal-dev] Problem With black Collar with gdal warp
Frank Warmerdam
warmerdam at pobox.com
Mon Nov 12 15:38:47 EST 2007
Pietro Buratti wrote:
> Hi,
> I have a "big" problem with Reprojected GeoTIFF Images because They have
> a black collar after the reprojection and It's impossible to collect
> them in a singular GeoTIFF.
>
> Could you help me?
> I must use only gdal utilities ...
Pietro,
One option is to reproject them directly into an existing mosaic file.
Another is to mosaic them after reprojection with knowledge of the black
nodata value (though this runs the risk of black pixels in the image being
treated as nodata). You could also add an alpha band when reprojecting
to keep track of valid and invalid pixels (gdalwarp's -dstalpha switch).
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list