OHDSI GIS
WGgaiaDb is the core data repository for the Gaia toolchain, implemented as a PostgreSQL/PostGIS database. It contains all geospatial data processing logic, SQL routines, and OMOP CDM integration functionality.
gaiaDb uses a dual-schema approach: - backbone schema: Core LinkML-based metadata and data catalog - working schema: OMOP integration tables (external_exposure, location_history, location)
All data transformation, spatial operations, and exposure calculations are performed within the database using SQL and PostGIS functions.
gaiaDb is accessed through: - PostgREST API: RESTful interface to database functions and tables - Direct database connections: Standard PostgreSQL client connections - gaiaCore connectors: Language-specific client libraries (R, Python, etc.)