This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /

How to Draw a Line in QGIS

Updated on:
June 8, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to create and draw a line feature in QGIS using a shapefile layer.

Quick summary

This demo shows how to draw a line in QGIS by creating a new shapefile layer with a LineString geometry type and using the Add Line tool to digitize a line feature on the map canvas.


Steps

  1. Click 'Layer' at the top menu, select 'Create Layer', then choose 'New Shapefile Layer'.
  2. Set the geometry type to 'LineString' and configure the other layer details.
  3. Click 'OK' once the shapefile settings are complete.
  4. Select the created shapefile layer, then click the 'Toggle Editing' (pencil icon) in the top menu.
  5. Click the 'Add Line' tool from the toolbar.
  6. Drag along the map layout to draw the line, right-click to finish, enter a feature ID, then click 'OK'.
  7. You have successfully created a line feature in QGIS.

📌 Why this matters

Drawing line features in QGIS is a foundational GIS skill used for mapping roads, rivers, boundaries, and other linear spatial data. QGIS is a free, open-source geographic information system trusted by GIS professionals, urban planners, and researchers worldwide. Knowing how to create a shapefile layer and digitize line features enables users to build accurate vector datasets for spatial analysis and cartographic output. This workflow covers the complete process from layer creation to feature digitization in just a few steps.
Your product deserves an interactive demo
Start free
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it