Skip to content

pgh_output_en_au

Australian English output pack for PgHydro

pghydro · Australian English output pack for PgHydro

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
1604pgh_output_en_aupghydro6.6GISGPL-2.0SQL
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
----d--NoNoNoYesnono

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPIGSTY6.619 18 17 16 15pghydroplpgsql, postgis, pghydro
RPMPIGSTY6.619 18 17 16 15pghydro_$vpostgis37_$v
DEBPIGSTY6.619 18 17 16 15postgresql-$v-pghydropostgresql-$v-postgis-3
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
el8.aarch64N/APIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
el9.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
el9.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
el10.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
el10.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
d12.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
d12.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
d13.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
d13.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u22.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u22.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u24.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u24.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u26.x86_64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6
u26.aarch64PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6PIGSTY 6.6

Source

pig build pkg pghydro;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pghydro;		# install by package name
pig install pgh_output_en_au;		# install by extension name

pig install pgh_output_en_au -v 19;   # install for PG 19
pig install pgh_output_en_au -v 18;   # install for PG 18
pig install pgh_output_en_au -v 17;   # install for PG 17
pig install pgh_output_en_au -v 16;   # install for PG 16
pig install pgh_output_en_au -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION pgh_output_en_au CASCADE; -- requires plpgsql, postgis, pghydro

Usage

Sources: PGHydro README, pgh_output_en_au SQL

pgh_output_en_au provides an Australian-English PgHydro output schema. It creates localized export tables for drainage lines, drainage areas, and drainage points, plus a refresh function that populates them from the base PgHydro network.

Enable

CREATE EXTENSION postgis;
CREATE EXTENSION pghydro;
CREATE EXTENSION pgh_output_en_au;

Output Tables

The extension creates the pgh_output_en_au schema with tables including:

TablePurpose
geoft_bho_drainage_lineDrainage-line export table
geoft_bho_drainage_areaDrainage-area export table
geoft_bho_drainage_pointDrainage-point export table

Refresh Output

SELECT pgh_output_en_au.pghfn_updateexporttables();

Run the refresh after recalculating or editing the source PgHydro objects.

Notes

Use this extension when the exported schema should expose Australian-English naming conventions while still being derived from the PgHydro drainage network.

Table reader