[gdal-dev] gdalwarp -dstnodata

Sven Schroeter schroeter at netgis.de
Fri May 28 05:05:13 EDT 2010


Hi,
I use the gdalwarp utility to transform geotifs:

gdalwarp -co compress=lzw -s_srs "+proj=tmerc +lat_0=0 +lon_0=6 +k=1.000000 
+x_0=2500000+y_0=0 +ellps=bessel +units=m 
+towgs84=590.1181,99.6226,340.1890,1.185095,-1.334952,-2.904521,16.51559" -t_srs 
"+proj=utm +ellps=GRS80 +datum=WGS84 +zone=32" -dstnodata 255 
bbp07231053_2559-wla_0053-1a.tif out/bbp07231053_2559-wla_0053-1a.tif

I want to convert the new "nodata-areas" to be displayed in white (255 255 
255)
if I try -dstnodata 255  or -dstnodata "255 255 255" in every picture the no 
data areas have other colors but not white. What can I do?

Thanks
Sven 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100528/44360cf2/attachment-0001.html


More information about the gdal-dev mailing list