pghydro
Drainage network analysis core for PostgreSQL and PostGIS
Repository
pghydro/pghydro
https://github.com/pghydro/pghydro
Source
pghydro-6.6.tar.gz
pghydro-6.6.tar.gz
Overview
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 1600 | pghydro | No | No | No | Yes | No | No | pghydro |
| 1601 | pgh_raster | No | No | No | Yes | No | No | pgh_raster |
| 1602 | pgh_hgm | No | No | No | Yes | No | No | pgh_hgm |
| 1603 | pgh_output | No | No | No | Yes | No | No | pgh_output |
| 1604 | pgh_output_en_au | No | No | No | Yes | No | No | pgh_output_en_au |
| 1605 | pgh_output_pt_br | No | No | No | Yes | No | No | pgh_output_pt_br |
| 1606 | pgh_consistency | No | No | No | Yes | No | No | pgh_consistency |
| Related | plpgsql postgis postgis_raster pointcloud pgrouting ogr_fdw h3 q3c mobilitydb pg_sphere |
|---|---|
| Depended By | pgh_consistency pgh_hgm pgh_output pgh_output_en_au pgh_output_pt_br pgh_raster |
Lead row; package also ships pgh_raster, pgh_hgm, pgh_output, pgh_output_en_au, pgh_output_pt_br, and pgh_consistency.
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 6.6 | 1817161514 | pghydro | plpgsql, postgis |
| RPM | PIGSTY | 6.6 | 1817161514 | pghydro_$v | postgis36_$v |
| DEB | PIGSTY | 6.6 | 1817161514 | postgresql-$v-pghydro | postgresql-$v-postgis-3 |
Build
You can build the RPM / DEB packages for pghydro using pig build:
Install
You can install pghydro directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
Sources: README, repo, releases
pghydro is the core extension in the PgHydro suite for drainage-network analysis and water-resources decision support on top of PostgreSQL and PostGIS.
Install the PgHydro suite
The upstream README presents these companion extensions together:
pghydrofor drainage-network analysispgh_rasterfor DEM-derived hydrological productspgh_hgmfor hydrogeomorphological analysispgh_consistencyfor Pfafstetter consistency checkspgh_outputfor reporting objects
What upstream says it covers
The README describes support for:
- flow-direction correction in river networks
- Otto Pfafstetter basin coding
- upstream and downstream stretch selection
- distance-to-mouth calculations
- upstream area calculations
- river orders and basin levels
Requirements
- PostgreSQL 9.1+
- PostGIS 3.x
- PostGIS Raster
Notes
- The current upstream README status section still says the master branch tracks release
6.6and the develop branch tracks6.7-dev. - The repository also publishes newer tags, but the user-facing README remains centered on the
6.6installation and tutorial flow.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)