Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Build and install the qgis plugin

git clone
cd qgis-versioning
./ # compresses all files into
cd .qgis2/python/plugins/
mkdir qgis-versioning
cd qgis-versioning
# unzip contents of directory *qgis_versioning* found in

If you have admin acces to a local postgres/postis server, you can run the regression tests:

export QGIS_PREFIX_PATH=/path/to/your/qgis/installation
python3 postgres -v

And if you want to run only one regression test:

export QGIS_PREFIX_PATH=/path/to/your/qgis/installation
python3 postgres

Use the plugin in qgis

Check that the plugin 'qgis-versioning' is activated in the plugin manager or install the versioning plugin directly in QGIS (Menu : Plugins = Manage plugins : Versioning).

Load posgis layers from a scheme you want to version.

Group postgis layers together. Select the group and click on the 'historize' button in the plugin toolbar (make sure the toolbar is displayed). The layers will be replaced by their view in the head revision

Click on the group and then on the 'checkout' button. Choose a file to save your layers locally.

Modify your layers.

Click on the 'commit' icon.


For more information on this plugin, you can go on its plugin documentation site: You can also contribute to the source code by sending pull request or open issues if you have any comments or bug to report.

See also this article describing why the plugin has been built and how : GIS Open Source versioning tool for a multi-user Distributed Environment Cet article est aussi disponible en français :


This plugin has been developed by Oslandia (

Oslandia provides support and assistance for QGIS and associated tools, including this plugin.

This work has been funded by European funds. Thanks to the GIS Office of Apavil, Valcea County (Romania)

This work has been also developed by eHealth Africa ( for SpatiaLite 4.x support, filter selection for SpatiaLite file, diff mode and user identification improvements.


This work is free software and licenced under the GNU GPL version 2 or any later version. See LICENSE file.