I have a set of points (X,Y,Z) across a river. Is there a way to present them as a cross section? I'm attaching a cross section I made in Excel: The X axis are the longtitude and the Y axis, the Z elevation data. I want to make such a cross section in QGIS. enter image description here

closed as off-topic by underdark Mar 26 '17 at 15:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – underdark
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Can you add a drawing to illustrate what you want to achieve? – AndreJ Aug 11 '14 at 7:54
  • You need a general plotting library for this - so you could either use R or Python, and then write a script for the Processing module to get the data from your layer and plot. – Spacedman Nov 3 '16 at 8:45

In a first step, you should convert your point layer into a DEM raster: Creating raster or vector raster from DEM point file? or How to rasterize a vector map?

Then you can follow this advice: Drawing cross section in QGIS?

  • Thanks Andre, but this is exactly what I'm trying to avoid. The data points I have are too few and too scattered for creating a reasonable raster. – H.Wiener Aug 12 '14 at 12:35
  • 1
    If they are not part of the cross-section cutline, QGIS has to interpolate between them. And the rasterize tool does exactly the same. – AndreJ Aug 12 '14 at 12:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.