PostGIS as the Enterprise Geodatabase for ArcGIS Online

A PostgreSQL extension that makes PostGIS the source of truth — with full geodatabase semantics and bidirectional sync to ArcGIS Online.

v0.1.0 foundation release · by TechMaven

Why agol_fdw

Own your data. Keep ArcGIS Online in sync.

ArcGIS Online hosts your feature services in Esri's cloud. But when you need a real relational database as your system of record — with enforced domains, subtypes, attribute rules, and relationships — there has been no clean way to make PostGIS authoritative and keep AGOL in step. Until now.

Before

AGOL is the only home for your data. No enforced geodatabase semantics in a real RDBMS, no SQL-grade integrity, and data sovereignty lives outside your walls.

With agol_fdw

AGOL layers become native Postgres tables with full geodatabase semantics. PostGIS is the source of truth; AGOL is a synchronized projection.

The guarantee

No silent data loss. Dead-letter queues, conflict logs, and validation-issue logging mean every edit is accounted for — never silently dropped.

Capabilities

Everything a geodatabase should be — in Postgres.

How it works

AGOL on one side, PostGIS on the other.

agol_fdw introspects an AGOL hosted layer and materializes it as native Postgres tables with equivalent constraints, triggers, lookups, and relationships. Edits then flow bidirectionally and asynchronously — PostGIS authoritative, AGOL synchronized.

See the architecture →
ArcGIS Online PostGIS source of truth agol_fdw introspect · sync webhooks → ← outbox / worker

Get started

Install in two commands.

# install the python package
pip install agol_fdw

# enable the extension in your Postgres + PostGIS database
CREATE EXTENSION agol_fdw;

Full quickstart →