I have a set of points (xyz) along an axis.
Is there any way in QGIS to generate cross profiles along this axis each 10 meters with, for example, +-15 meters right and left from the axis?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
I've been trying to find how to do this for a while. @Kazuhito's comment led me to find this.
You need two things:-
Convert Points to Line
You can get your points into a line using the Points2One plugin. It helps if
You might need to convert these to 2D coordinates (I'm not sure that Points2One supports 3d points.)
If you have a point cloud rather than a raster, you can convert it to a raster, but that's a whole different question :)
SAGA Cross Profile Plugin
Next, use the SAGA algorithm Cross profiles. You can find this by searching for it in Processing.
You need to specify :-
The output is a series of lines (shown in yellow) perpendicular to your axis (shown in white) with samples taken from the DEM.
Each line will have numbered attributes X000, X001, X002... These represent the elevation samples along each profile. If you're looking along the axis, these points may go from left->right or right->left, depending on your CRS.
It's tricky to visualise lots of these profiles, though. You could save the resulting layer to CSV file and plot the profiles using Excel or another spreadsheet.