<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I need to extract elevation values from a DEM at certain points for which I have X and Y values.<br></div>My points are contained in several profiles, each profile with hundreds of points. <br><br></div>My input is a text file, one file per profile,  with the following format:<br><br></div><div>PointA X Y<br></div><div>PointB X Y<br>......<br></div><div>PointZ X Y.<br><br></div><div>I would like a solution where I can feed the above text input, and get my output as another text file<br></div><div>with similar format, Point X Y Z (or Point Z X Y). Alternatively just a text file with one column containing Z,<br></div><div>but exactly same number of rows, so I can copy and paste to the input.<br><br></div><div>One single command that solves one point only would do as well, I would just create a script file from my every<br></div><div>text file for every line....<br><br></div><div>Any suggestions would be greatly appreciated.<br><br></div><div>I am using QGIS 2.8 Wien in Ubuntu.<br><br></div><div>Thank you.<br></div><div>Szilard<br><br></div><div><br><br></div><div><br></div><br></div>