<p dir="ltr">Hi,<br>
The point sampling tools works very well.  All you need is to import your xyz points into QGIS using the CSV import tools.  With that, you can import your points and then save them as a shape file.   I don't think the sampling tool works with CSV layers.</p>
<p dir="ltr">Once you have this shape file, make sure it is in the same projection as the raster (as extra precaution).  Then, use the point sampling tool to sample your points.  You can get raster values or even vector values if your point falls within a polygon.  This tools works well with thousands of points... </p>
<p dir="ltr">Nicolas Cadieux M.Sc.<br>
Les Entreprises Archéotec inc. <br>
8548, rue Saint-Denis Montréal H2P 2H2<br>
Téléphone: 514.381.5112  Fax: 514.381.4995<br>
www.archeotec.ca</p>
<div class="gmail_quote">On Dec 16, 2015 02:41, "Siki Zoltan [via OSGeo.org]" <<a href="/user/SendEmail.jtp?type=node&node=5241601&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type='attribution'><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        Dear Szilard,
<br /><br />there is a point sampling plugin for QGIS:
<br /><a href="https://plugins.qgis.org/plugins/pointsamplingtool/" target="_top" rel="nofollow" link="external">https://plugins.qgis.org/plugins/pointsamplingtool/</a><br /><br />Regards,
<br />Zoltan
<br /><br />On Wed, 16 Dec 2015, Szilard Albert wrote:
<br /><div><div class='shrinkable-quote'><br />> Hello,
<br />>
<br />> I need to extract elevation values from a DEM at certain points for which I
<br />> have X and Y values.
<br />> My points are contained in several profiles, each profile with hundreds of
<br />> points.
<br />>
<br />> My input is a text file, one file per profile,  with the following format:
<br />>
<br />> PointA X Y
<br />> PointB X Y
<br />> ......
<br />> PointZ X Y.
<br />>
<br />> I would like a solution where I can feed the above text input, and get my
<br />> output as another text file
<br />> with similar format, Point X Y Z (or Point Z X Y). Alternatively just a
<br />> text file with one column containing Z,
<br />> but exactly same number of rows, so I can copy and paste to the input.
<br />>
<br />> One single command that solves one point only would do as well, I would
<br />> just create a script file from my every
<br />> text file for every line....
<br />>
<br />> Any suggestions would be greatly appreciated.
<br />>
<br />> I am using QGIS 2.8 Wien in Ubuntu.
<br />>
<br />> Thank you.
<br />> Szilard
<br />>
</div>_______________________________________________
</div>Qgis-user mailing list
<br /><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5241526&amp;i&#61;0">[hidden email]</a>
<br />List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br />
        <br />
        <hr noshade="noshade" size="1" />
        <div style="color:#444;font:12px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/extracting-elevations-from-DEM-at-certain-points-tp5241513p5241526.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/extracting-elevations-from-DEM-at-certain-points-tp5241513p5241526.html</a>
        </div>
        <div style="color:#666;font:11px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif;margin-top:0.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com <br />
                To unsubscribe from Quantum GIS - User, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61;">click here</a>.<br />
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif">NAML</a>
        </div></blockquote></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/extracting-elevations-from-DEM-at-certain-points-tp5241513p5241601.html">Re: extracting elevations from DEM at certain points</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>