[gdal-dev] Re: Mask and GEOTiff

canduc17 candini at meeo.it
Thu Apr 28 05:30:09 EDT 2011


I think gdal merge is the easier way.

But with a command like this:
gdal_merge.py -of GTiff -separate -o cropped.tif orig.tif mask.tif

I obtainn a GEOTiff with two bands: the first is the original image and the
second is the mask.
This is not what I want.

I would like to obtain a single band GEOTiff with visible only the pixels of
original image filtered by the mask.

Is that possible with a further passage or with another tool?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mask-and-GEOTiff-tp6312284p6312590.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list