Skip to content

eaggr

The OpenEAGGR software library is an implementation of a Discrete Global Grid System (DGGS) which models the Earth’s surface as a network of equal area cells.

eaggr · The OpenEAGGR software library is an implementation of a Discrete Global Grid System (DGGS) which models the Earth’s surface as a network of equal area cells.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101348eaggreaggr2.0GISLGPL-3.0C++

Usage

Sources:

eaggr — The OpenEAGGR software library is an implementation of a Discrete Global Grid System (DGGS) which models the Earth’s surface as a network of equal area cells. Use it for the corresponding spatial data or geospatial workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION eaggr;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • EAGGR_CellGeometry(text, text) is an extension function and returns text.
  • EAGGR_CellToPoint(text, text) is an extension function and returns text.
  • EAGGR_GetBoundingCell(text[], text) is an extension function and returns text.
  • EAGGR_ShapeComparison(text, text, text, text) is an extension function.
  • EAGGR_ToCellArray(text) is an extension function and returns text[].
  • EAGGR_ToCells(text, double precision, text) is an extension function and returns text.
  • EAGGR_Version() is an extension function and returns text.

Requirements and Caveats

  • The reviewed control file declares default version 2.0.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader