In active development

Bidirectional async sync

PostGIS is authoritative; AGOL is a synchronized projection. Edits flow both ways without either side blocking.

Heads up on maturity. The sync plumbing — outbox table, inbound queue, trigger signatures, control functions — is designed and stubbed in v0.1.0. The standalone worker that drains both queues is in active development. The contracts below describe the intended design.

What it is

Edits flow both ways, asynchronously, with PostGIS as the source of truth:

Why it matters

Neither side blocks the other. Editors in ArcGIS Online and editors working in Postgres see their changes converge asynchronously, with explicit conflict handling rather than silent overwrites.

See it (control surface)

-- push pending outbound edits now (instead of waiting for the worker)
SELECT agol_fdw.push_outbox();

-- apply pending inbound edits delivered via webhooks
SELECT agol_fdw.apply_inbound();

-- do both, plus a reconcile audit, in one call
SELECT agol_fdw.sync_now();

Related

← Back to home