Re: [gdal-dev] gdal_contour and "nodata" oceans

2010-02-23 Thread Maxime Guillaud
On Tue, 23 Feb 2010 23:00:31 +0100 Even Rouault 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

[gdal-dev] gdal_contour and "nodata" oceans

2010-02-23 Thread Maxime Guillaud
Hi all, I am trying to have gdal_contour operate on SRTM data from CGIAR (http://srtm.csi.cgiar.org/). The problem is that this dataset has oceans set to "nodata". This creates ugly artifacts along the shores (you can see an example here on the red lines: http://www.mguillaud.net/tmp/Screenshot.pn