Re: [gdal-dev] Mask and GEOTiff

2011-04-28 Thread Marius Jigmond
In QGIS you can use Raster Calculator to multiply the rasters. -marius On Thu, 2011-04-28 at 00:30 -0700, canduc17 wrote: > Hi everyone. > > Is there a way to crop a GEOTiff image using a Mask of the same dimension? > > For example, a mask with a filled circle: every pixel inside the circle is

Re: [gdal-dev] Mask and GEOTiff

2011-04-28 Thread Chaitanya kumar CH
Alessandro, You can combine the tiff and the mask using GDAL's VRT format or by using the -separate option in gdal_merge.py script. The extra band should be set as a nodata mask or alpha band. http://www.gdal.org/gdal_vrttut.html http://www.gdal.org/gdalbuildvrt.html http://www.gdal.org/gdal_mer

[gdal-dev] Mask and GEOTiff

2011-04-28 Thread canduc17
Hi everyone. Is there a way to crop a GEOTiff image using a Mask of the same dimension? For example, a mask with a filled circle: every pixel inside the circle is 1 and the others are 0. I would like to obtain a new GEOTiff with only the pixel inside the circle visible and the other set to 0. Is