# Australian suburb suggestions Prepared for TeamWolf on 23 October 2026. These are local autocomplete suggestions for Greater Sydney (NSW), Greater Perth (WA), and Greater Melbourne (VIC). They are not an address validator, an exhaustive current postal directory, or a statement of service eligibility. Keep manual entry available. ## Runtime files The runtime files live under `public/data/suburbs/`. Each JSON file is an alphabetically sorted array of `[suburb, postcode]` tuples. Postcodes are four-character strings. State comes from the selected city. Names retain the source spelling with the small display-capitalisation corrections listed below. The browser can load the selected city's static file lazily; typing does not require a third-party request. | File | Locality/postcode pairs | Distinct locality names | Uncompressed bytes | Gzip bytes | | --- | ---: | ---: | ---: | ---: | | `sydney.json` | 928 | 928 | 20,740 | 6,720 | | `perth.json` | 395 | 395 | 8,382 | 2,972 | | `melbourne.json` | 575 | 574 | 12,825 | 4,276 | Melbourne appears at both 3000 and 3004 in the upstream source. These are distinct suggestions, not duplicate tuples. Verified capital examples are `["Sydney","2000"]`, `["Perth","6000"]`, and `["Melbourne","3000"]`. There are no duplicate tuples. [`scripts/suburbs/validation-report.json`](../scripts/suburbs/validation-report.json) contains output checksums and sizes. ## Locality and postcode source The underlying data is [Joel Koen's postcodes-au](https://github.com/joelkoen/postcodes-au), derived from the open Geocoded National Address File (G-NAF). The publisher calculates each locality/postcode centre by averaging the positions of the G-NAF physical addresses in that pair. This provides named physical localities rather than a generated list or postcode-prefix approximation. - Pinned revision: `ccbc80872ec77038abc3909403466f1340f01ee7`. - [Pinned CSV](https://raw.githubusercontent.com/joelkoen/postcodes-au/ccbc80872ec77038abc3909403466f1340f01ee7/data/localities-au.csv). - [Pinned source explanation](https://github.com/joelkoen/postcodes-au/blob/ccbc80872ec77038abc3909403466f1340f01ee7/README.md). - [Pinned data copyright](https://github.com/joelkoen/postcodes-au/blob/ccbc80872ec77038abc3909403466f1340f01ee7/data/COPYRIGHT.md). - Publication / data-file commit: **2 May 2024**. The exact underlying G-NAF quarterly release is not stated upstream. This is a May 2024 publication snapshot, not a 2026 postal-data update. - Original CSV: 15,318 data rows, 625,592 bytes. - Original CSV SHA-256: `534b400f833d8ed0c83834554effdf1c079df6c9acaa2ce5d2ffe19e3285340b`. - Original Git blob SHA-1: `17ac3eaee93ffb83a4b985fb490385f1bdb00353`. - Exact local original: [`scripts/suburbs/localities-au-source.csv`](../scripts/suburbs/localities-au-source.csv). - Retained upstream explanation: [`scripts/suburbs/localities-source-readme.md`](../scripts/suburbs/localities-source-readme.md). - Retained upstream attribution: [`scripts/suburbs/GNAF-COPYRIGHT.md`](../scripts/suburbs/GNAF-COPYRIGHT.md). ### G-NAF licence and attribution **The data is not MIT licensed.** The upstream software is MIT licensed; the data retains the [Open Geo-coded National Address File (G-NAF) End User Licence Agreement](https://data.gov.au/dataset/ds-dga-19432f89-dc3a-4ef3-b943-5326ef1dbecc/distribution/dist-dga-09f74802-08b1-4214-a6ea-3591b2753d30/details?q=gnaf), based on CC BY 4.0 with an additional mail-use restriction. The [Commonwealth dataset catalogue](https://search.data.gov.au/data/dataset/geocoded-national-address-file-g-naf) identifies these terms. Retain the licence link, credit and change notice when redistributing the derived files. Do not represent the files as endorsed by Geoscape or ABS. Required adapted-data attribution: Incorporates or developed using G-NAF © [Geoscape Australia](https://geoscape.com.au/legal/data-copyright-and-disclaimer/) licensed by the Commonwealth of Australia under the [Open Geo-coded National Address File (G-NAF) End User Licence Agreement](https://data.gov.au/dataset/ds-dga-19432f89-dc3a-4ef3-b943-5326ef1dbecc/distribution/dist-dga-09f74802-08b1-4214-a6ea-3591b2753d30/details?q=gnaf). The mail-use condition requires verifying that each address can receive mail from a secondary source before using G-NAF to generate an address or compilation of addresses for sending mail. These suburb suggestions do not verify postal deliverability and must not be used as such verification. TeamWolf's modifications: filtered the original locality/postcode pairs by state and metropolitan centroid containment; removed counts and coordinates from the runtime files; sorted and deduplicated tuples; corrected display capitalisation. No locality/postcode association was invented or manually added. ## City membership and ABS boundary source Each source locality/postcode centroid must be inside the relevant ABS ASGS Edition 3 (2021) Greater Capital City Statistical Area polygon, and have the matching source state: | City file | Required state | GCCSA code | Geographic scope | | --- | --- | --- | --- | | Sydney | NSW | 1GSYD | Greater Sydney | | Perth | WA | 5GPER | Greater Perth | | Melbourne | VIC | 2GMEL | Greater Melbourne | The definition is [ABS's functional capital-city area](https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs/edition-3-july-2021-june-2026/main-structure-and-greater-capital-city-statistical-areas/greater-capital-city-statistical-areas). It includes outer areas such as Katoomba and Gosford in Greater Sydney, Mandurah in Greater Perth, and the Mornington Peninsula in Greater Melbourne. Newcastle, Wollongong, Bunbury and Geelong are excluded. Membership does not use postcode prefixes or a rectangular bounding box. Official source: [ABS 2021 digital boundary files](https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs/edition-3-july-2021-june-2026/access-and-downloads/digital-boundary-files), `GCCSA_2021_AUST_SHP_GDA2020.zip`. The working polygon snapshots were retrieved from a [documented ABS-derived mirror](https://github.com/pqzdev/sydney-streets/blob/1f98255083a7532f982d8ba29c452a02c0a864d5/data/boundaries/README.md), pinned to revision `1f98255083a7532f982d8ba29c452a02c0a864d5`: - [Sydney polygon](https://raw.githubusercontent.com/pqzdev/sydney-streets/1f98255083a7532f982d8ba29c452a02c0a864d5/data/boundaries/sydney_boundary.json), original Git blob `089d46dd2a93063a8a0441dcf88e9a993cd56ba4`. - [Perth polygon](https://raw.githubusercontent.com/pqzdev/sydney-streets/1f98255083a7532f982d8ba29c452a02c0a864d5/data/boundaries/perth_boundary.json), original Git blob `dae449987c23d37b85027cb4a742cac9cc31b78a`. - [Melbourne polygon](https://raw.githubusercontent.com/pqzdev/sydney-streets/1f98255083a7532f982d8ba29c452a02c0a864d5/data/boundaries/melbourne_boundary.json), original Git blob `a8b5dfda245a35eb4b229946a2a5718a8966173f`. - [Inspectable conversion script](https://github.com/pqzdev/sydney-streets/blob/1f98255083a7532f982d8ba29c452a02c0a864d5/scripts/convert_gccsa_boundaries.py) applies topology-preserving simplification with a 0.001-degree tolerance, approximately 100 metres. No additional geometric simplification is applied here; local JSON is only whitespace-compacted. The three compact snapshots are retained as [`scripts/suburbs/sydney-gccsa-boundary.json`](../scripts/suburbs/sydney-gccsa-boundary.json), [`perth-gccsa-boundary.json`](../scripts/suburbs/perth-gccsa-boundary.json), and [`melbourne-gccsa-boundary.json`](../scripts/suburbs/melbourne-gccsa-boundary.json). The mirror's original source explanation is retained in [`scripts/suburbs/abs-boundaries-source-readme.md`](../scripts/suburbs/abs-boundaries-source-readme.md). ABS attribution: Australian Bureau of Statistics, Australian Statistical Geography Standard (ASGS) Edition 3, Greater Capital City Statistical Areas (2021). Adapted to classify locality centroids. ABS material is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/); see [ABS copyright terms](https://www.abs.gov.au/website-privacy-copyright-and-disclaimer). The 2021 geography is deliberately identified and pinned. ASGS Edition 4 (2026) exists; these files do not claim to use its boundaries. ## Completeness and quality limits - This is a bounded, G-NAF physical-address-derived suggestion set. It is not guaranteed to include every postal locality, PO-box-only range, recently created suburb, or postcode change since May 2024. Do not make selection mandatory. - A locality that straddles a metropolitan boundary is assigned by its average address position. A point near a simplified coastline or boundary can fall outside even where some addresses are inside. This is suitable for suggestions with manual entry, not boundary enforcement. - Source states are assigned once per postcode by the upstream generation code. Cross-state postcode associations can therefore inherit one state. This is a source limitation, not an independently verified postal-state register. - Centroid latitude/longitude values are rounded upstream; geographic checks are approximate. The runtime JSON contains no coordinates. - Names and postcode associations are inherited from the pinned source; no independent nationwide address reconciliation was performed. ## Display capitalisation The upstream producer uniformly title-cased names. Eight display-only corrections preserve known internal capitals / acronyms: MacMasters Beach, McCarrs Creek, McGraths Hill, McMahons Point, McCrae, McKinnon, O'Connor and HMAS Cerberus. Original names and postcode associations remain in the CSV. Other names, including St / Mount names, are preserved as supplied. Supporting public sources include [Central Coast Council](https://www.centralcoast.nsw.gov.au/council/council-news/have-your-say-macmasters-beach-temporary-coastal-protection-works), [Northern Beaches Council](https://www.northernbeaches.nsw.gov.au/things-to-do/recreation-area/mccarrs-creek-wharf), [Hawkesbury City Council](https://www.hawkesbury.nsw.gov.au/your-spaces/book-a-space/community-halls), [Dictionary of Sydney](https://dictionaryofsydney.org/place/mcmahons_point), [Victorian Government: Mornington Peninsula](https://www.vic.gov.au/know-your-council-mornington-peninsula-shire-council), [Glen Eira City Council](https://www.gleneira.vic.gov.au/our-city/parks-and-playgrounds/mckinnon-reserve), [City of Fremantle](https://www.fremantle.wa.gov.au/your-city-and-council/about-fremantle/city-of-fremantle-fast-facts/), and [Royal Australian Navy](https://www.navy.gov.au/about-navy/bases-and-locations/hmas-cerberus). These confirm casing; they are not substituted postcode data sources. ## Reproduce and validate From the repository root, run: ```sh python3 scripts/suburbs/generate.py ``` The generator reads the retained CSV and three `*-gccsa-boundary.json` snapshots beside itself, regardless of the current working directory. It requires only the Python standard library and no network access, checks the original CSV and compact boundary SHA-256 values, performs point-in-polygon checks including multipolygon islands and holes, and writes the three runtime JSON files to `public/data/suburbs/`. Its validation report is written to `scripts/suburbs/validation-report.json`. The inputs and maintenance files stay outside `public/`. The generator checks four-digit postcode strings, duplicate tuple absence, the 2000/6000/3000 capital examples, and expected regional-city exclusions. It records deterministic gzip sizes and SHA-256 checksums. No paid service, geocoding API, Nominatim or user input is used.