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.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to