DEV Community

Raymond Lay for MIERUNE

Posted on

Seamlessly Compare Maps on QGIS with the QMapCompare Plugin

Introduction

When working with QGIS, you often switch between basemaps, but comparing small differences between maps can be challenging when only one map can be displayed at a time.

Web tools like Japan's "Past/Present Map on the Web" and France Mapping Agency (IGN)'s "Remonter le temps" enable users to compare different styles of maps easily in various ways.

However, QGIS has lacked a stable feature for map comparison until now! This post introduces QMapCompare, a new plugin that enables users to compare multiple maps directly within QGIS using various visualization methods.

QMapCompare overview


QMapCompare overview. Created by editing GSI Tiles

Installation

First, ensure you are using QGIS version 3.34 or later.
Then, you can install plugin by searching QMapCompare on QGIS plugin manager.

Usage

Once plugin installed, a new icon will appear on the toolbar.
Clicking the icon will toggle the QMapCompare panel on the left bottom of QGIS window.

QMapCompare interface


QMapCompare interface. ©︎OpenStreetMap contributors

QMapCompare provides several ways to compare maps.

QMapCompare interface

Select layers you want to compare (1), and choose the following comparison method (2-5):

  • 1. Select compare layers (multiple selections allowed)
  • 2. Mirror: Displays two maps side by side
  • 3. Vertical Split: Divides the map vertically
  • 4. Horizontal Split: Divides the map horizontally
  • 5. Lens: Check compare layers with a circle around the mouse cursor
  • 6. Stop: Ends the comparison

Comparison Methods Overview

Mirror View

The mirror mode places a duplicate of the map canvas on the right side of the map canvas.

This is useful when comparing base maps with satellite imagery or other data.

QMapCompare Mirror view


Mirror view. Created by editing GSI Tiles

Split View

The split mode divides the map into two sections, showing different layers side by side.

You can choose either a vertical or horizontal split, depending on your needs.

This is may be useful for comparing building accuracy in OpenStreetMap with government-provided data as example.

QMapCompare Split view


Split view. Created by editing GSI Tiles and ©︎OpenStreetMap contributors

Lens View

Lens mode displays a circular preview of the comparison layers around the mouse cursor.

As you move the cursor, the preview updates in real time.

This is especially useful for detailed comparisons of specific locations.

QMapCompare Lens view


Lens view. Created by editing GSI Tiles

Practical Use Cases

QMapCompare is valuable for various use cases as below:

  • Comparing historical aerial photographs

Aerial Photo Comparison (1987-1990)


Tokyo Aerial Photo Comparison between 2024(left) and 1987-1990(right).
Created by editing GSI Tiles

  • Analyzing pre- and post-disaster images

Disaster Impact Analysis


Aerial Photo Comparison of Before 2021 Atami Landslip Disaster (left) and after(right).
Created by editing GSI Tiles

Conclusion

QMapCompare is a powerful tool for comparing different maps and datasets within QGIS. With this plugin, you can easily:

  • Analyze time-series data (e.g., pre- and post-disaster maps)
  • Evaluate data accuracy (e.g., comparing OpenStreetMap with government maps)
  • Support decision-making (e.g., verifying different analytical results and styles)

As this is a newly released plugin, there may still be some bugs. If you encounter any issues, please report them on our GitHub Issues page.

Your feedback will help improve the tool!

Top comments (0)