# `DiffoExample.Nbn.Geo`
[🔗](https://github.com/diffo-dev/diffo_example/blob/v0.4.0/lib/nbn/geo.ex#L17)

Seeds NBN POI and CSA places for South Australia and the rest of Australia,
pairing each POI 1:1 with its CSA via a PlaceRef (POI -> CSA).

See the file header for geographic-data source and attribution (NBN Co,
CC BY 4.0, modified).

# `count`

Number of POI/CSA pairs seeded.

# `seed`

Seeds all POI and CSA places and pairs each POI 1:1 with its CSA via a
PlaceRef (POI -> CSA, role `:interconnects`). The SQ traverses CSA -> POI
through this ref via Ash.

Per-record and resilient: a record that fails (e.g. a constraint) is logged
and skipped so the rest load. The `:build` actions upsert by id; the ref
step checks for an existing pairing first, so re-running is idempotent.

# `seed_locations`

Seeds the demo customer premises: each a Location (street address) plus a
LocationPoint (lat/long) that `:geo_locates` it. These Adelaide-Hills venues
service-qualify to the Stirling CSA (5STI). Idempotent like `seed/0`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
