[gdal-dev] Re: Converting contour lines (Shape files) into DEM

Even Rouault even.rouault at mines-paris.org
Sun Feb 27 16:05:29 EST 2011


Le dimanche 27 février 2011 22:00:49, Martinjensen a écrit :
> I am trying the same thing but gdal_rasterize will not let me without an
> 
> existing raster  outputfile. My GDAL version is:
> >gdal_rasterize --utility_version
> 
> gdal_rasterize was compiled against GDAL 1.8.0 and is running against GDAL
> 1.8.0
> 
> I run it like this:
> 
> gdal_rasterize.exe -a Z -l LINESTRING LINESTRING.shp LINESTRING_dem.tif
> ERROR 4: `LINESTRING_dem.tif' does not exist in the file system,
> and is not recognised as a supported dataset name.
> 
> I thought the ability to create new output file by gdal_rasterize war
> introduced en GDAL 1.8.
> Am I doing anything wrong?

The manual page mentions :

"Since GDAL 1.8.0, the target GDAL file can be created by gdal_rasterize. One 
of -tr or -ts option must be used in that case."


More information about the gdal-dev mailing list