Back to How-To
How-To

AER Facilities Map: 8 Categories from 40+ Petrinex Sub-codes

Township Canada collapses AER ST102 facility sub-codes into 8 clean categories (battery, gas plant, compressor, disposal, etc.) so the catalog UI stays readable across the full Alberta dataset.

AER Facilities Map — 8 Customer-Facing Categories

The AER's ST102 facilities dataset lists every licensed midstream and processing facility in Alberta — batteries, gas plants, compressor stations, disposal wells, custom treaters, terminals, water source wells. The raw dataset uses 40+ Petrinex sub-codes for fine-grained facility typing. Township Canada collapses these into eight customer-facing buckets so the data catalog UI stays readable and the icons mean something visually.

The eight categories

CategoryPetrinex sub-codes coveredWhat it represents
BatteryMulti-well, single-well, group, oil sands batteriesCrude/multiphase production facility — typically the first downstream point from wells
Gas plantGas processing, sweet, sour, dehydrationGas treatment / processing
CompressorCompressor station, booster, gathering compressorPressure-boosting along the gas transport path
DisposalAcid gas disposal, water disposal, salt cavern, deep wellSub-surface disposal of produced water, acid gas, etc.
Custom treatingCustom-treating facilityThird-party processing for non-operator volumes
TerminalPipeline terminal, truck terminal, rail terminalCrude/condensate transfer and storage
Water sourceWater source wells, fresh water facilitiesSource of water for industrial use (frac, injection)
OtherAnything not in the above (typically rare or unusual facility types)Catch-all

The category mapping lives in app.categorize_facility() on the database. Updates land alongside AER ST102 publication cycles.

How the map renders

Each category gets a distinct icon style on the map, sized to be readable at zoom 8 (province scale) without overcrowding. Labels use the facility name; clicking a facility opens a popover with the licensee, status, full Petrinex sub-code, and DLS legal description.

The layer is part of the Energy Bundle data catalog. Toggle it on alongside AER Wells and AER Pipelines for the full midstream view.

Use cases

Operators evaluating new tie-in options — Batteries and compressors near a proposed wellsite are the candidate destinations for new pipeline. The 8-category breakdown lets you filter to just the relevant facility types in a single click.

Custom treaters and water source operators identifying coverage gaps — toggling just the Custom Treating or Water Source categories surfaces the geographic distribution; useful for siting new capacity.

Acid gas disposal planning — the Disposal category surfaces existing acid gas disposal wells; new injection projects need to evaluate proximity to existing infrastructure for risk assessment.

Closure obligation analysts — facilities follow a similar lifecycle to wells (active, suspended, abandoned, reclamation-certified). The lifecycle filter applies here too.

Why the categorization is worth the work

A raw dump of all 40+ Petrinex sub-codes produces an unreadable map — the icon set has too many similar-looking types and customers spend time figuring out what each one means rather than acting on the data. The 8-bucket model maps to how operators actually think about midstream infrastructure: where does the production go (battery), how does it get processed (gas plant, custom treating), how is it moved (compressor, terminal), and what's the disposal pattern (disposal).

Coverage

  • Alberta: full AER ST102 coverage
  • Saskatchewan, BC: not yet — see roadmap