#PluginFridays: MapSwipe Tool

29 Mar 2019 ᛫ 2 min read


Swiping (apologies to Dora the Explorer) is a simple way to show the difference between two layers or highlight changes over time. I’ve found that this neat trick is very effective in grabbing people’s attention or getting a reaction from them. It’s a common feature you can see in webmaps using Leaflet and Mapbox. This functionality is also available in desktop GIS like GRASS through the Map Swipe and QGIS via the MapSwipe Tool plugin

If you don’t know how to install plugins yet, you can check-out this post for QGIS 2 and this post for QGIS 3.

The Plugin

You can install the MapSwipe Tool plugin via Plugins -> Manage and Install Plugins.

MapSwipe Tool plugin

How to use

The plugin is used in a very straightforward manner. For my example below, I’m using two XYZ maps (Google Satellite and Bing VirtualEarth). The plugin works for both vector and raster layers.

  1. Select the layer that you want to swipe on the Layers panel.

    Select layer in Layers panel
  2. Activate the plugin by clicking the MapSwipe Tool icon in the Plugins toolbar or via Plugins -> Map swipe tool -> Map swipe tool. Note that this will unselect/disable your layer as well.

    MapSwipe Tool in Plugin toolbar
    MapSwipe Tool in Menu bar
  3. Drag your mouse to swipe the selected layer. You can swipe horizontally or vertically.

    Swiping with the plugin
  4. Once finished, click the icon again to deactivate the plugin.

    Deactivate the plugin

That’s it. You can use the MapSwipe Tool on your next mapping project. #HappyMapping!

comments powered by Disqus

You may also like:

Custom splash screens in QGIS

05 Sep 2020 ᛫ 2 min read

Run QGIS processing algorithms from the command line

17 Jul 2020 ᛫ 3 min read

Why you shouldn't use QGIS

22 Oct 2019 ᛫ 1 min read

Learning tools on web GIS: Introduction to web maps and web GIS

10 Oct 2019 ᛫ 1 min read

Geotagged photos in QGIS

22 Sep 2019 ᛫ 4 min read


[email protected]

Creative Commons License
Except when explicitly stated otherwise, this work and its contents by Ben Hur S. Pintor is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Other works (software, source code, etc.) referenced in this website are under their own respective licenses.
This site is powered by Jekyll and hosted on Github (view source)