Skip to content

feat: add Swedish postal code geocoding - #104

Closed
jkrenge wants to merge 1 commit into
masterfrom
codex/swe-postal-geocoding
Closed

jkrenge wants to merge 1 commit into
masterfrom
codex/swe-postal-geocoding

Conversation

@jkrenge

@jkrenge jkrenge commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Superseded by consolidated postal geocoding PR #124. This PR's head commit is retained in the combined branch. Combined CI passes on Node.js 24/26 and static checks.


Adds SWE postal code lookup for approximate delivery-to-return location distances.

  • Adds 18,887 unique full postal codes from GeoNames SE.zip, retrieved 2026-11-04 (CC BY 4.0). Source, archive hash, transformation, and accuracy limits are in docs/geocode-SWE.md.
  • Accepts compact and spaced Swedish codes. Keeps existing coordinate string return values and other countries' behavior.
  • Points are estimates, not verified postal centroids. Coverage is not guaranteed complete. A low-accuracy Abisko point illustrates possible large rural errors; independent authoritative point validation remains unavailable.
  • Validation: 98 tests pass; lint, format:check, and validate:data pass. Data validation reports existing legacy region-name warnings.

Shared-file overlap: lib/geocode.js allowlist and country-specific normalization. No merge or deployment requested.

@jkrenge
jkrenge requested a review from a team as a code owner November 4, 2026 22:02
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T22:03:19.574364Z 38d6da6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jkrenge jkrenge closed this Nov 4, 2026
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