Rasterblaster
A QGIS plugin used to speed up the georeferencing process by utilising GDAL to make use of system resources.
Install / Use
/learn @harryspacefromspace/RasterblasterREADME
Raster Blaster
Raster Blaster is a QGIS plugin that streamlines your raster georeferencing workflow by embedding GDAL's powerful command-line tools directly into the Georeferencer interface. It adds buttons for every step—from reading your GCPs .points file through to generating Cloud-Optimized GeoTIFFs (COGs)—all without ever leaving QGIS.
This plugin allows people who don't know how to use code or command line interfaces to harness the full power of GDAL to speed up their workflows.
Features
Three Core Functions
- Points→GeoTIFF: Reads your .points file (GCPs) and input image, creates an intermediate VRT, then warps it to a projected GeoTIFF in your chosen CRS.
- Points→COG: Same as Points→GeoTIFF, but outputs directly to a Cloud-Optimized GeoTIFF (COG).
- GeoTIFF→COG: Converts an existing GeoTIFF into a COG.
Background Processing
All GDAL operations run in a background thread, keeping QGIS fully responsive during processing. You can continue working while your rasters process, and even queue multiple tasks.
Flexible Options
Target CRS: Choose any coordinate reference system—no longer hardcoded. Pick from recent CRS, search by name/code, or browse the full list.
Transformation Types:
- TPS (Thin Plate Spline)
- RPC
- Geoloc
- Polynomial (order 1, 2, or 3)
Resampling Methods:
- lanczos (default - best quality)
- near (fastest)
- bilinear, cubic, cubicspline
- average, mode
- max, min, med
Compression Options:
- JPEG (with adjustable quality 1-100%)
- LZW, DEFLATE, PACKBITS, ZSTD
- NONE
Smart Validation
The plugin checks your GCPs before processing and warns you about potential issues:
- GCP count validation: Ensures you have enough ground control points for your chosen transformation method (e.g., Polynomial order 2 needs at least 6 GCPs)
- Distribution warnings: Alerts you if GCPs are clustered in one area or arranged in a straight line, which can cause poor results
Quality of Life
- Persistent settings: Your preferences (compression, resampling, CRS, etc.) are saved between sessions
- Auto-fill output path: Selecting an input image automatically suggests an output filename
- Auto-load results: Optionally add the processed raster directly to your map
- Overwrite protection: Prompts for confirmation before overwriting existing files
- Progress tracking: See processing status in real-time
Installation
- Download the plugin as a ZIP file from GitHub (Code → Download ZIP)
- Open QGIS
- Go to Plugins → Manage and Install Plugins → Install from ZIP
- Select the downloaded ZIP file
- Click Install Plugin
Usage
Access the plugin from:
- Menu: Raster → Raster Blaster → [choose function]
- Georeferencer toolbar: Buttons are added automatically when the Georeferencer window is open
Basic Workflow
- Open the Georeferencer and add your GCPs as usual
- Save your GCPs to a .points file
- Click Points→GeoTIFF or Points→COG
- Select your points file and input image (output path auto-fills)
- Choose your target CRS and processing options
- Click Run
Tips
- Large files: Processing may take several minutes for large rasters. The progress indicator keeps you informed.
- Compression choice: Use JPEG for aerial/satellite imagery; LZW or DEFLATE for maps with solid colors or text.
- GCP quality: More GCPs generally means better results, but distribution matters more than quantity. Spread them across corners and edges.
- Check the log: If something goes wrong, check View → Panels → Log Messages and look for "Raster Blaster" entries.
How It Works
When you run Points→GeoTIFF or Points→COG:
- Parses your .points file (supports UTF-8 and Windows-1252 encoding)
- Validates GCP count and distribution for your chosen transformation
- Builds GCP arguments for GDAL
- Creates a temporary VRT with
gdal_translate -of VRT - Runs
gdalwarpwith your chosen CRS, resampling, and compression - Cleans up temporary files
- Optionally loads the result into QGIS
The plugin uses multi-threading (GDAL_NUM_THREADS=ALL_CPUS) to maximize performance.
Requirements
- QGIS 3.0 or later (compatible with both Qt5 and Qt6 versions)
- GDAL (included with QGIS)
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Support
- Issues: https://github.com/harryspacefromspace/rasterblaster/issues
- Repository: https://github.com/harryspacefromspace/rasterblaster
Credits
Created by Harry Stranger (harry@spacefromspace.com)
