I'm a bit new at this. I have a DEM map (.tif) of an area in QGIS. I know that I can transform it to a text file (.asc) with
raster -> translate.
However, what I need is only a certain cross-section of the area. So I want to choose a straight line, with specific coordinates, and get an .asc file containing the data of only the points along this line.