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 Rectangle in QGIS

Updated on:
June 8, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to create a rectangle shape in QGIS using the polygon editing tools.

Quick summary

This demo walks you through how to draw a rectangle in QGIS by enabling editing mode on a shapefile layer and using the built-in polygon and rectangle feature tools. In just a few clicks, you can create and save a precise rectangular geometry directly on your map canvas.


Steps

  1. Select the polygon layer — click on the shapefile (polygon) layer in the Layers Panel to make it active.
  2. Enable editing mode — click the Toggle Editing tool in the top menu to begin editing the layer.
  3. Activate Add Polygon Feature — click the Add Polygon Feature tool from the toolbar.
  4. Select the Rectangle Feature tool — choose the Rectangle Feature tool to switch to rectangle drawing mode.
  5. Draw the rectangle — drag your cursor across the map canvas and right-click at the endpoint to complete and create the rectangle shape.
  6. Enter an ID — type an ID value in the attribute dialog and click OK to confirm and save the feature.
  7. Your rectangle has been successfully created in QGIS.

📌 Why this matters

QGIS is the leading open-source geographic information system used by GIS analysts, urban planners, and researchers worldwide to create and edit spatial data. Knowing how to draw a rectangle in QGIS using the polygon shapefile editor lets users quickly define study areas, bounding boxes, or zone boundaries without needing advanced digitizing skills. This capability is fundamental to vector data creation workflows, enabling accurate spatial analysis and map production directly within QGIS at no software cost.
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