hexgrid
Configurable hex grid on abstract surface
hexgrid · Configurable hex grid on abstract surface
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101399 | hexgrid | hexgrid | 1.0.3 | GIS | BSD-3-Clause | C |
Usage
Sources:
- Official upstream README
- Official extension control file (hexgrid.control)
- Official extension SQL (hexgrid.sql)
hexgrid — Configurable hex grid on abstract surface. 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
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
hex_Orientation(name text, f float[], b float[], start_angle float)is an extension function and returnshex_orientation.hex_OrientationFlat()is an extension function and returnshex_orientation.hex_OrientationPointy()is an extension function and returnshex_orientation.ST_Centroid(hexagon hexagon)is an extension function and returnsgeometry.ST_Hexagon(point geometry(point), grid_id int default 1)is an extension function and returnshexagon.ST_HexagonCoverage(region geometry, grid_id int default 1)is an extension function and returnssetof.hex_orientationis an extension-defined type.hexagonis an extension-defined type.hexgridis an extension-defined type.hexgridsis a table installed or managed by the extension.
Requirements and Caveats
- The reviewed control file declares default version
1.0.3. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.