Le mercredi 28 août 2013 10:24:08, garfy a écrit : > Using gdalwarp mosaic, and setting nodata as "0" , I have been able to > mosaic successfully. > But in my case, "0" = no data when out of image extents, and inside extents > it is a valid value. > Can some one explain if the value 0 comes in image extents , how does gdal > handle it ?
You should use a nodata value that isn't a valid value inside the extent of your image, otherwise tools processing your mosaic will display the 0 valued pixel as nodata. An alternative to using nodata is to ask for the creation of an alpha band with the -dstalpha option. > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/gdalwarp-no-data-option-tp5074732.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 -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
