Skip to content

liquid_region_plz: postcodes from TERCET and Statistik Austria - #5

Merged
PeterTheOne merged 3 commits into
mainfrom
liquid-region-plz-nuts
Nov 8, 2026
Merged

PeterTheOne merged 3 commits into
mainfrom
liquid-region-plz-nuts

Conversation

@PeterTheOne

@PeterTheOne PeterTheOne commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

liquid/liquid_region_plz.sql came from the old membership system and was wrong: 8053 (Graz-Neuhart) was missing, and 9371 (Brückl/Eberstein/Völkermarkt, Carinthia, NUTS AT213) and 8162 (Passail/Fladnitz, district Weiz, AT224) were listed under AT221.

Both regions are NUTS 2024 regions: AT130 = Wien, AT221 = Graz (the city of Graz and the district Graz-Umgebung).

Sources (fetched 2026-11-08)

Rule

  • AT130: all TERCET rows for AT130.
  • AT221: all TERCET rows for AT221, plus every postcode of an Ortschaft in Graz (60101) or Graz-Umgebung (606), even if TERCET puts it in a neighbouring region. This follows the file's rule that any match counts.
  • Post office box and large-recipient postcodes are included for both regions.

Changes (compared with the original list)

  • AT130: 140 postcodes (was 23). Nothing removed. Added: the 117 post office box and special postcodes of Wien (1000, 1004, 1006, 1011, …, 1400, 1423, 1500, 1502–1504, 1600, 1610).
  • AT221: 82 postcodes (was 62).
    • Removed: 8162 and 9371. TERCET puts them in AT224 and AT213, and no Ortschaft of Graz or Graz-Umgebung uses them.
    • Added: 8053 (Graz); 8076 (Vasoldsberg); 8082 and 8324 (partly St. Marein bei Graz); 8404 (from TERCET); and the post office box and special postcodes of Graz: 8000, 8006, 8011, 8012, 8014, 8015, 8016, 8017, 8019, 8021, 8025, 8026, 8035, 8049, 8050, 8056, 8057.
    • In the list only because of Statistik Austria (TERCET puts them in another region): 8072, 8081, 8082, 8131, 8152, 8160, 8163, 8181, 8200, 8322, 8324, 8410, 8411, 8503, 8504, 8561.

Tests

In tests/liquid-members-test.php:

  • New row counts: 140 and 82, 222 rows in all.
  • New checks: 8053, 8561 and 8061 are in AT221, and 9371 is in no region.

./tests/run.sh: all tests passed.

Deploying

The SQL replaces all rows of liquid_region_plz, so deploying means re-running the admidio_addons role. The Liquid sync then picks up the new regions within 10 minutes.

🤖 Generated with Claude Code

PeterTheOne and others added 2 commits November 8, 2026 19:54
The old list came from the old membership system and was wrong: 8053
(Graz) was missing and 9371 (Brueckl, Carinthia) and 8162 (Passail,
district Weiz) were listed under AT221. AT130 now has TERCET's 140
postcodes, AT221 TERCET's postcodes plus every postcode of an Ortschaft
in Graz or Graz-Umgebung (Statistik Austria), 82 in all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Liquid unit Graz is the city of Graz (Gemeinde 60101), not all of
NUTS AT221. AT221 now has the 17 postcodes of the Ortschaften of Graz
(Statistik Austria, matching the Bezirk Graz(Stadt) in the RTR list);
the key stays AT221 for the Liquid deployment's region map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PeterTheOne PeterTheOne changed the title liquid_region_plz: postcodes from TERCET and Statistik Austria liquid_region_plz: Wien from TERCET, AT221 as the city of Graz Nov 8, 2026
The owner decided that the Liquid unit Graz is the NUTS region AT221, as
the old list meant. Back to TERCET's AT221 rows plus every postcode of an
Ortschaft in Graz or Graz-Umgebung, 82 postcodes; the post office box
postcodes are included for both regions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PeterTheOne PeterTheOne changed the title liquid_region_plz: Wien from TERCET, AT221 as the city of Graz liquid_region_plz: postcodes from TERCET and Statistik Austria Nov 8, 2026
@PeterTheOne
PeterTheOne merged commit d474b9c into main Nov 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant