[gdal-dev] Possible bug. Clipping raster with gdalwarp.

Alexander Bruy alexander.bruy at gmail.com
Sat May 21 10:21:22 EDT 2011


Hi,

when I clip singleband raster in GeoTiff format using shapefile as mask layer
with gdalwarp I get two bands raster in output. First band is clipped raster and
second - rasterized mask. Is this bug or feature? Is it really necessary to save
rasterized mask?

I use next command
gdalwarp -q -cutline mask.shp -dstalpha -of GTiff clearcuts.tif
clearcuts_clip.tif

-- 
Alexander Bruy


More information about the gdal-dev mailing list