Yeah, GRASS got methods to convert contour lines to DEM formats but I am not that much literate to compare.
It got some commands like r.surf.idw = Inverse distance weighted method using the n-closest data points r.surf.nnbathy = Natural-Neighbor interpolation r.surf.contour and some more... Source: http://grass.osgeo.org/wiki/Contour_lines_to_DEM -- Kishore On Mon, Mar 29, 2010 at 9:58 PM, Christopher Barker <chris.bar...@noaa.gov> wrote: > Even Rouault wrote: >> >> 2) Use gdal_rasterize to burn the contour lines. >> >> See http://gdal.org/gdal_rasterize.html >> >> 3) Fill the holes (the nodata values) with gdal_fillnodata.py. >> >> See http://gdal.org/gdal_fillnodata.html >> >> Now, the result should be usable with gdaldem. > > well, yes, but it's likely to be pretty ugly -- it will represent the > elevation as steps -- constant values between contours. If you have enough > contour lines, and want a low-resolution DEM, that might be OK. However, > you'll get much prettier results if you interpolate in some way to get a > smoother result. > > Unfortunately, interpolating contour lines well is not trivial -- I'd do > some googling and see what you can find. > > GRASS may have something to help you here, too. > > -Chris > > > > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > chris.bar...@noaa.gov > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev