Skip to main content

QGIS Data Acquisition & Export

TOOL
๐Ÿ“–6 min read

Introductionโ€‹

The baseline setup establishes the base map. This page adds the data that goes on top of it: basemaps for reference, elevation (DEM) for terrain, and OpenStreetMap for vector features. It then covers how to export each layer from QGIS and import it into Blender.

Usageโ€‹

Add a basemapยท QuickMapServices

Basemaps are background map layers from a wide range of online services, and a primary source for satellite imagery and street maps. Install QuickMapServices, then go to Web โ†’ QuickMapServices โ†’ Settings, open the More services tab, and click Get contributed pack. After that you can add basemaps via Web โ†’ QuickMapServices โ†’ [Provider] โ†’ [Map Type].

Key providers:

  • Google Satellite/Hybrid (high-resolution satellite imagery; "Hybrid" includes road labels overlaid on satellite imagery). Best coverage in urban and developed areas. Cannot be directly exported (terms of service), but can be captured for reference.
  • Bing Aerial (Microsoft's satellite imagery). Sometimes has better or more recent coverage than Google in certain regions. Different capture dates than Google, so compare them.
  • Esri World Imagery. Composite from multiple sources, good global coverage, often used as a baseline.

Comparing sources: Load multiple basemap providers in QGIS as different layers and toggle visibility to compare. You might find Google has better resolution in one area, while Bing has more recent imagery in another. Different capture dates also mean different seasons, lighting, and site conditions.

Download a DEMยท OpenTopography

Elevation data (DEM) gives your reconstruction terrain context. Use the OpenTopography plugin with a free API key from opentopography.org (how to get one: API keys guide).

The plugin can download these DEMs: SRTM 90m, SRTM 30m (a good default), ALOS World 3D 30m, SRTM GL1 Ellipsoidal 30m, Global Bathymetry SRTM15+ V2.1, Copernicus Global DSM 30m, Copernicus Global DSM 90m, NASADEM Global DEM, Europe DTM 30m, GEDI L3 Grid 1km, GEBCOIceTopo Bathymetry 500m, and GEBCOSubIceTopo Bathymetry 500m.

What you get: A GeoTIFF file where each pixel value represents elevation in meters above sea level. The file is georeferenced, meaning it knows where on Earth it belongs.

Visualizing the DEM in QGIS: By default a DEM appears as a grayscale image. To see it better: right-click the layer โ†’ Properties โ†’ Symbology, and change "Render type" to "Singleband pseudocolor". This applies a color gradient to elevation values, making terrain easier to interpret.

Understanding the limitations: Remember that 30m resolution means one elevation point per 900 mยฒ (30m ร— 30m). For a small reconstruction site:

  • A 50m ร— 50m area = only about 2โ€“3 elevation points
  • A 200m ร— 200m area = about 7ร—7 = 49 elevation points
  • A 2km ร— 2km area = about 67ร—67 = 4,500 elevation points

This is why a broad-to-detailed approach works: use the DEM for regional terrain context, not for detailed site topography.

Download OpenStreetMap dataยท QuickOSM

OpenStreetMap is more than a background map. It is a database of geographic features that you can export and use. Install the QuickOSM plugin for more control over what you download.

OpenStreetMap (OSM) is free, open data created by community contributors. Good for roads, building footprints, and place names. Street map style rather than satellite imagery. Data can be exported for use. Quality varies by region depending on contributor activity.

What OSM provides: building footprints (outlines), roads and pathways, land use areas, points of interest, and height information (when available, though often missing).

Accessing OSM data in QGIS: load an OpenStreetMap basemap for visual reference. To get vector data, use Vector โ†’ OpenStreetMap โ†’ Download Data, or use the QuickOSM plugin for more control. Select your area and choose feature types (buildings, roads, etc.). The data imports as vector layers you can edit and export.

Quality note: OSM data quality varies dramatically by region. Well-mapped urban areas might have detailed building footprints with attributes (height, building type, construction date). Remote or unmapped areas might have minimal data. Always visually compare OSM building footprints against satellite imagery to check accuracy.

Export from QGISโ€‹

QGIS exports both raster and vector data. Right-click the layer you want to export and choose Export โ†’ Save Asโ€ฆ.

When exporting data from QGIS for use in BlenderGIS, ensure that:

  • The CRS of the exported file matches your project's CRS (the custom one you set up in the baseline setup).
  • DEMs are exported as RAW GeoTIFF (.tif) files.
  • Shapefiles (.shp) are used for vector data like building footprints and roads.

Into Blenderโ€‹

This workflow exports three output formats, all imported with the BlenderGIS add-on:

  • GeoTIFF raster (basemap, rendered image) becomes a georeferenced plane.
  • GeoTIFF DEM becomes a displacement texture on that plane.
  • Shapefile (roads, footprints, regions) becomes a vector mesh, optionally extruded from a height field.

Two caveats before you import. The scale is already real-world: the files carry the custom CRS from the baseline setup, so the imported geometry is in meters and needs no scaling. The alignment depends on that CRS being shared. A file exported under any other CRS will not sit on the same ground as the rest of the scene.

Base layerโ€‹

We now have our base image imported and correctly positioned in Blender with scale matching real world scale. Next we add height to the base and then layer more detailed maps on top.

Add DEMโ€‹

Height is added, and our terrain now has realistic elevation based on the DEM data we exported from QGIS.

Stack layersโ€‹

Stacking layers of different maps on top of each other gives us a rich and detailed 3D reconstruction of our area of interest.

In an Investigationโ€‹

Record the data provenance here. The layers in your scene are claims about the site, and each one needs a source a reader can re-pull.

  • Method section: for each layer, record the provider and tile source (basemap), the DEM source and resolution (for example SRTM 30m), the OSM download date and feature types, and the export extent with its effective resolution.
  • Decision log: why this DEM source at this resolution, and why this basemap. Capture dates differ between providers. Note which one you compared and what you saw.
  • Verification: the imported layers must stack correctly in Blender (the shrinkwrap offset holds without Z-fighting) and the ground scale must match a known distance on site.

Limitationsโ€‹

  • Google and Bing basemaps cannot be legally exported under their terms of service. Use them as on-screen reference. Export Esri World Imagery or a licensed source for the plane that goes into the scene.
  • 30 m DEM resolution means one elevation point per 900 mยฒ. The terrain it produces is context, not site topography. Do not use it to claim ground conditions at a specific position.
  • OpenStreetMap quality varies by region. Check footprints and roads against current satellite imagery before treating them as accurate.

Resourcesโ€‹

Sourcesโ€‹

  1. OpenTopography API keys, how to get the free key the DEM plugin needs
  2. NextGIS QuickMapServices, the basemap plugin
  3. QuickOSM, the OpenStreetMap downloader