I'm trying to create a 3D view in Qgis 3.0 for the first time. It's asking for a raster file from which to calculate elevations. All I have for elevation data is a shapefile of contours (as lines).
I've tried simply rasterizing the contour lines shapefile, but it comes up with Error 1 "Wrong value for -outsize parameter" and I can't seem to get any information on this error.
Is there a way to get a raster file suitable for use with the 3D view from a shapefile with contour lines?
Edit - I've followed the link trail from the previous question, they all seem to link back to the tutorial which @Marco linked to.
The trouble is, all those start with converting the vectors to raster, and that, as the question suggests, is where I'm having the problem. Perhaps, given that converting raster contour lines to raster DEM is so well covered I should change the question title to just "How do I convert vector contours to raster contours?"

Rasterize (Vector to raster), a GDAL command, but maybe not!? Could you paste the screenshot before you press OK? You migth have an error in the parameters. Here the man page: http://www.gdal.org/gdal_rasterize.html where I read "The resolution or size must be specified using the -tr or -ts option for all new rasters". – Marco Mar 07 '18 at 09:12