RE: [gdal-dev] create mosaic using mask bands

2012-04-13 Thread Gregory, Matthew
Hi Etienne, Etienne Tourigny wrote: > You should use gdalwarp only, no ned for gdal_merge.py. Thanks for that. So noted. > The order of input datasets is important, so in your case you should use > gdalwarp south.tif north.tif merge.tif > > Plus you don't need a mask, the last input file wil

Re: [gdal-dev] create mosaic using mask bands

2012-04-13 Thread Etienne Tourigny
You should use gdalwarp only, no ned for gdal_merge.py. The order of input datasets is important, so in your case you should use gdalwarp south.tif north.tif merge.tif Plus you don't need a mask, the last input file will override the first one. Etienne On Fri, Apr 13, 2012 at 4:09 PM, Gregory,

[gdal-dev] create mosaic using mask bands

2012-04-13 Thread Gregory, Matthew
Hi all, I don't think I'm understanding correctly how to use masking bands. My goal is to create a mosaic between two adjacent rasters using mask bands on each raster to define the valid data. As a test, I have two single band GeoTiffs (north.tif and south.tif) that overlap by about 400 rows.