Building and Analysing Sections
Duration: 30-40 minutes
By the end of this tutorial, you will be able to:
- Drawing section lines
- create multi-layer elevation profiles in QGIS using the built-in Elevation Profile tool.
- Load raster, LAZ point cloud, vector data to analyse in section.
- Digitize vector features (points, lines, polygons) from georeferenced maps
- Create and edit vector layers with proper attributes
- Compare data sets (vector vs raster vs LiDAR)
- QGIS (version 3.x or higher)
- Freehand Raster Georeferencer plugin
- Active internet connection (for PDOK aerial photos)
- Data files:
- NASA raster DEM
- TU Delft LAZ point Cloud
- Vector LineString
Steps
Part 1 : setting the project up
- Prepare QGIS
Go to
Plugins>Manage and Install Plugins…Then, in the
search barat the top left, typeQuickMapServices→ clickInstall.There is no need to install the old Profile Tool plugin anymore because Elevation Profile is built into QGIS.
- Load a Basemap
- Go to
Web>QuickMapServices>OSM>OSM Standard
This appears inside the Web menu after installing QuickMapServices. Use the mouse wheel and the navigation toolbar on the left to zoom to the correct area.
- Load the NASA Raster DEM (raster)
Go to
Plugins>SRTM DownloaderThis opens the SRTM Downloader window.Set canvas extentis at the top right. It uses whatever is visible on the map.Tick
Load image into QGIS when done.Under
Output Path, click the folder icon to choose where the file goes.Press
Downloadat the bottom.
- The first time, the websites asks for NASA Earthdata Login.
- Use the link to create an account.
- Once downloaded, the raster DEM appears in the
layer panelon the left
- Load the TU Delft LAZ file (point cloud)
Download the LAZ tile from https://geotiles.citg.tudelft.nl/
Go to
Layer>Add Layer>Add Point Cloud Layer…
This opens a file window.
- After selecting the LAZ file, press
Open. You can simply drag and drop it into QGIS.
To style the point cloud:
- Open the
Layer Styling Panel(on the right toolbar, look for the paintbrush icon). - Select
Attribute by Classification. - Set
Zas the attribute so colours represent height.
Part 2 : creating the section for analysis
- Create the vector line (section line)
- Go to
Layer>Create Layer>New GeoPackage Layer…
On the window:
- Choose an existing
.gpkgfile or create a new one. - Geometry type = LineString.
- Create a field called
name(text). - Press OK. To draw the line: > Go to
Layer> ToggleEditing
The editing toolbar becomes active.
- Use
Add Line Feature(icon looks like a bent polyline). - Click along the desired path.
- Double-click to finish.
- When the attribute window appears, type the line name.
- then Go to
Layer>Save Layer Edits> Go toLayer> ToggleEditing(off)
- Use the Elevation Profile tool
- Go to
View>Panels>Elevation Profile
A panel opens on the right side of QGIS.
To add layers:
- Click
+ Add Layerat the top of the Elevation Profile panel. - Select the NASA DEM and choose
Rastertype. - Select the TU Delft LAZ point cloud and choose
Point Cloudtype.
To use vector line:
- Select the line in the map (using the regular
Select Featurestool). - In the
Elevation Profilepanel, open the menu (the three dots). - Choose
Generate Profile from Selected Feature.
- Adjust the profile view
- Use
Sampling Distanceto adjust how detailed the profile is. - Use
Point Cloud Radiusto control how far from the line the point cloud is sampled. - Toggle layers on and off using the eye icons.
- Press
Export as Imageto save the section graph.
- Interpretation
- The raster DEM gives a smooth representation of terrain.
- The point cloud shows fine detail like buildings, trees, and surface features.
- The vector line is the exact path used to extract the profile.
Other sources
- Video Tutorial: Cross section detection using Profile Tool
- Video Tutorial: Compare raster DTM’s, contour lines and a point cloud for different transects
- Video Tutorial: Elevation Profiles using .laz data
- Video Tutorial: Multiple cross sectional profiles
- Video Tutorial: Create 3D Terrain with QGIS and GIMP