How to Download OpenStreetMap Data Into QGIS: Three Free Methods

πŸ“‚ Open Aerial Maps πŸ“… ⏱️ 4 Min Read
How to Download OpenStreetMap Data Into QGIS: Three Free Methods
⚑ Executive Brief & Key Takeaways
  • Primary Signal: How to Download OpenStreetMap Data Into QGIS: Three Free Methods
  • Overview: OpenStreetMap is the largest free map dataset in the world. Learn three ways to bring its roads, buildings, and boundaries into QGIS, from the QuickOSM plugin to Overpass queries a...
  • Verification: Analyzed and compiled by FreeSky GeoData editorial monitoring desk.

OpenStreetMap is the largest free map dataset in the world, built by millions of volunteers, and it contains roads, buildings, rivers, boundaries, and points of interest for almost every inhabited place on Earth. For GIS users, it is an invaluable source of base data, but getting it into QGIS is not always obvious. There are three main methods, each suited to a different job: the QuickOSM plugin for small areas, the Overpass API for custom queries, and Geofabrik extracts for whole regions. This guide explains all three, so you can choose the right one for your project.

QuickOSM is a QGIS plugin and the easiest way to get OpenStreetMap data for a small area. Install it from the QGIS plugin manager, then open it and choose a key and value, for example highway for the key and primary for the value, to get primary roads. Set the extent to the current canvas or a layer, and run the query. QuickOSM downloads the matching features and adds them as temporary layers in your project. The plugin is ideal for quick work: mapping the roads in a neighbourhood, finding all the schools in a town, or getting building footprints for a small site. Its limit is size: for large areas, the query can time out or return too much data to handle comfortably. For anything bigger than a city district, use one of the other methods.

The Overpass API is a read-only query service for OpenStreetMap data, and it is the most flexible of the three methods. You write a query in the Overpass Query Language, which lets you ask for exactly what you need: all hospitals within 10 kilometres of a point, all cycle paths in a county, or all buildings with a specific tag. The Overpass Turbo website lets you build and test queries in your browser, with a map preview, before you run them. In QGIS, you can run Overpass queries through QuickOSM's advanced mode or through the Overpass API directly. The API has usage limits, so keep queries focused and avoid requesting the whole planet. For targeted, custom extracts, Overpass is the best tool available, and learning its query language is a skill that pays off across many projects.

Geofabrik provides free, regularly updated extracts of OpenStreetMap data by country, region, and city, in formats that QGIS can read directly. Download the extract for your area as a .osm.pbf file or a shapefile, and load it into QGIS. The .osm.pbf format is compact and complete, but QGIS needs the data converted or loaded through a plugin; the shapefile version is simpler, with separate files for roads, buildings, land use, and points of interest. Geofabrik updates its extracts daily, so the data is fresh, and the files are small enough to download quickly. This method is best for projects covering a whole city, region, or country, where a live query would be too slow or too large. Combine a Geofabrik extract with a local QuickOSM query for the best of both worlds: a complete base map plus fresh, targeted data.

OpenStreetMap data is rich but messy, and a few cleaning steps make it far more useful. First, check the coordinate reference system: OSM data is in WGS84, and you may need to reproject it to match your project. Second, filter by tags: a roads layer will contain everything from motorways to footpaths, so use the highway tag to select the classes you need. Third, check for gaps: volunteer mapping is uneven, and rural areas may have fewer buildings or roads than urban ones. Cross-check against satellite imagery for critical work. Finally, remember the licence: OpenStreetMap data is available under the Open Database Licence, which requires attribution and share-alike for derived databases. Credit OpenStreetMap and its contributors on every map you publish, which is both a legal requirement and simple courtesy to the volunteers who built the data.

What is OpenStreetMap? A free, volunteer-built map of the world, with roads, buildings, and points of interest, available under an open licence. What is the easiest way to get OSM data into QGIS? Install the QuickOSM plugin and query by key and value for your area. What is Overpass Turbo? A website for building and testing Overpass API queries, with a map preview. Can I download OSM data for a whole country? Yes, Geofabrik provides free country and region extracts updated daily. Do I need to credit OpenStreetMap? Yes, the Open Database Licence requires attribution to OpenStreetMap and its contributors.

πŸ“Œ EXPLORE NEXT IN OPEN AERIAL MAPS
How to Calculate NDVI in QGIS: A Step-by-Step Guide for Beginners
⏱️ 4 Min Read Continue Story βž”
ED
FreeSky GeoData Editorial Desk Editorial Team Research & Editorial Team

Editorial team curating briefings and research summaries for this publication.

← PREVIOUS STORY How to Calculate NDVI in QGIS: A Step-by-Step Guide for Beginners #GIS NEXT STORY β†’ QGIS vs ArcGIS Pro: Which GIS Should You Learn in 2026? #GIS
βœ“ Reel link copied to clipboard!

</> Embed on Your Website

Copy and paste this snippet into any article, forum, or website:

Share with Friends

πŸ’¬ WhatsApp ✈️ Telegram 𝕏 Share