Skip to content

feat: add Serbia postal geocoding - #100

Closed
jkrenge wants to merge 1 commit into
masterfrom
codex/srb-geocode
Closed

jkrenge wants to merge 1 commit into
masterfrom
codex/srb-geocode

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.


Add approximate Serbia postal-code points for delivery-to-return distance analysis.

Uses GeoNames RS.zip retrieved 2026-11-04 (CC BY 4.0): 1,155 source rows become 1,149 unique five-digit codes. Each point is the mean of distinct coordinate pairs per code. Coordinates remain strings in [longitude, latitude] order. Unknown codes return undefined. Other countries and normalization stay unchanged.

These are locality representatives, not postal-area centroids. National completeness and independent rural/edge coordinate accuracy are unverified. The official Post of Serbia list confirms the urban postal-code example. No PAK support is included.

Validation: npm test (97 passed), npm run lint, npm run format:check, npm run validate:data passed; data validation retains two existing AUT/BEL warnings. Tests execute all SRB lookups and check unique codes, coordinate bounds, suffix handling, ISO2 lookup, and unknown codes.

Shared-file overlap: one SRB entry in lib/geocode.js. Do not merge automatically.

@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:24.143039Z a8ca359 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