OHDSI GIS
WGGaia is an integrated toolchain for combining geospatial data with OMOP Common Data Model (CDM) clinical data to enable population health research. Developed by the OHDSI GIS Working Group, Gaia provides infrastructure, software, standards, and workflows for integrating place-based datasets into patient-based health databases.
The name “Gaia” refers to the Greek personification of Earth, reflecting the toolchain’s focus on place-based health determinants and the spatial context of human health.
Improve the health of populations by generating reliable evidence from integrated geospatial and person-level health data.
Gaia currently supports:
Current limitations being addressed:
Gaia consists of multiple interconnected components:
gaiaDB - PostgreSQL/PostGIS database - Core data repository with all geospatial processing logic - SQL routines and PostGIS functions for spatial operations - Geometry-attribute index: every source registered the same way - OMOP CDM integration and exposure calculations - JSON-LD metadata ingestion from the catalog
gaiaCore - R package for the Gaia pipeline and exposure analytics - Direct database connection with DatabaseConnector - Runs ingestion, location loading and the spatial-temporal join from R - Quality checks on derived exposure and copy into the OMOP CDM - Exposure analytics (day-weighted windows, cluster-robust effect estimates) - Calls functions defined in gaiaDB; no processing logic of its own
gaiaCatalog - Metadata catalog - Functional metadata for publicly-hosted geospatial datasets - Schema.org-compliant dataset descriptions - ETL instructions (generated scripts) for automated retrieval and loading - Federated metadata sharing - Version tracking for data sources
gaiaDocker - Deployment orchestration - Coordinated image builds for entire Gaia stack - Versioned releases with docker-compose profiles - Integration with OHDSI Broadsea ecosystem - Official deployment method for all environments
OMOP GIS Vocabulary Package - Custom vocabularies - OMOP GIS Vocabulary (geographic entities, spatial relationships) - OMOP Exposome Vocabulary (environmental toxins, pollutants) - OMOP SDoH Vocabulary (social determinants from ADI, AHRQ, COI, EJI, SEDH, SVI, SDG, SDOHO) - Developed via Custom Vocabulary Builder (CVB) - Delta files available in TuftsCTSI/CVB
Gaia provides a standardized, automated, reproducible, and shareable means for integrating place-based datasets into longitudinal patient health databases.
Key capabilities: - Harmonize disparate geospatial datasets into common format - Link patient locations to environmental and social exposures - Calculate spatiotemporal exposure metrics while preserving privacy - Integrate exposures into OMOP CDM for analytics - Enable federated network studies with reproducible workflows
A researcher deploys gaiaDocker locally and gains immediate access to curated geospatial data sources:
docker compose --profile gaia up -d
They can now: - Load harmonized datasets across multiple domains (environment, demographics, SDoH) - Perform spatial joins and exploratory analyses - Create visualizations and geospatial applications - Access data via API or direct database connection
Example: Link air quality monitoring data (EPA) with social vulnerability index (CDC) to study environmental justice.
A researcher with an OMOP CDM database integrates geospatial exposures:
All processing happens inside your site, in gaiaDB, next to your CDM: - Locations and dates go from the CDM to Gaia, and exposures come back to the CDM - Addresses and location histories are never sent anywhere - In a network study, code goes out and only aggregate results come back - Standard OMOP privacy protections apply
Example: Calculate neighborhood deprivation index exposure during critical developmental windows for pediatric asthma cohort.
Gaia enables reproducible workflows across OHDSI data networks:
Every exposure row carries the identifier of the variable it came from, so each result can be traced to its source in the catalog.
Example: Multi-site study examining association between greenspace exposure and mental health outcomes across diverse urban environments.
OMOP models people; Gaia models places. Each side has one anchor, and the patient’s location history links them.
The Gaia Framework consists of three main components working together:
gaiaCatalog provides data discovery and metadata management:
Data flow: External data sources → Catalog metadata → Automated ingestion
gaiaDB provides storage and processing:
backbone schema (metadata and index) and a
working schema (data and exposures)gaiaCore is the R interface to gaiaDB:
ohdsi/gaia-core, HADES
with gaiaCore and the extension packagesData flow: Raw geospatial data → gaiaDB processing → gaiaCore (R) → OMOP CDM → HADES analytics
Specialized functionality beyond core CRUD operations:
Extensions build on the exposure that gaiaCore derives and copies into the OMOP CDM.
Location history (start with what you already have: ZIP code, census tract or address, each with dates), your OMOP CDM, and Gaia deployed at your site. No PHI leaves your site, geocoding is not required first, and you do not need a GIS team.
git clone https://github.com/OHDSI/gaiaDocker.git && cd gaiaDocker
docker compose --profile gaia up -d
See Get Started for detailed deployment and onboarding instructions.