On Tue, 23 Feb 2010 23:00:31 +0100 Even Rouault <[email protected]> wrote: > you can try the following tricks to remap your nodata value from > -32768 (this is type typical value for most DEM) to 0 : > > 1) gdalwarp -srcnodata -32768 -dstnodata 0 src_dem.tif out_dem.tif
Thanks, that helped. I had to run gdalwarp a second time on the output with "-scrnodata -32768 -dstnodata -32768" to reset the value of nodata in the GeoTIFF metadata, otherwise gdal_contour is honoring altitude zero as nodata. Maxime _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
