Skip to content

A tool for two-way synchronization between Mergin Maps and a PostGIS database

License

Notifications You must be signed in to change notification settings

MerginMaps/db-sync

Repository files navigation

Mergin Maps Database Sync

This tool takes care of two-way synchronization between Mergin Maps and another database (currently supporting PostGIS).

That means you can:

  • insert / update / delete features in PostGIS database - and the changes will get automatically pushed to a configured Mergin Maps project
  • insert / update / delete features in a GeoPackage in Mergin Maps project - and the changes will get automatically pushed to the PostGIS database

DB sync illustration

Getting started

There are three steps to get DB Sync up and running:

  1. Install the tool. See the installation guide

  2. Set up YAML configuration file. See Using DB Sync.

  3. Run the tool. There are several parameters to control the way the tool runs (see Using DB Sync)

Not sure where to start? Check out our quick start guide to set up sync between your database and a new Mergin Maps project.

Documentation

Join our community chat
and ask questions!