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
value.

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 <a1hun...@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to