[gdal-dev] gdal_merge.py on large Tiff's. gdalwarp not working properly.

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 10 23:02:09 PDT 2012

Hi Aaron,

Rasters are rectangular grids of data. But the data is not always
rectangular. It may have holes. It may be skewed, especially if it was
warped from another projection. To note the areas with these hole and areas
with no information, we define a certain pixel value. We call it nodata

Another way is to use a separate band. Alpha band or nodata mask.

It looks like you selected the values arbitrarily. You may be losing some
data. I suggest you use the -dstalpha option in gdalwarp to warp the first
image unless you are sure there is no data lose.

On Wed, Jul 11, 2012 at 9:25 AM, aphunter <a1hunter at ucsd.edu> wrote:

> It looks like using -srcnodata 0 -dstnodata 5 worked using gdalwarp. Thanks
> for the help!
> What exactly do the 'values' mean?
> Thanks,
> Aaron
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/gdal-merge-py-on-large-Tiff-s-gdalwarp-not-working-properly-tp4986729p4987481.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

Best regards,
Chaitanya kumar CH.

17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120711/bada22f9/attachment.html>

More information about the gdal-dev mailing list