Skip to content

feat(postcodes/PL): bulk-import 22,090 codes via Polish open data (#1039)#1444

Merged
dr5hn merged 1 commit into
masterfrom
feat/postcodes-poland-bulk
Apr 27, 2026
Merged

feat(postcodes/PL): bulk-import 22,090 codes via Polish open data (#1039)#1444
dr5hn merged 1 commit into
masterfrom
feat/postcodes-poland-bulk

Conversation

@dr5hn
Copy link
Copy Markdown
Owner

@dr5hn dr5hn commented Apr 27, 2026

Adds Polish postcodes via the mberezinski/kody-pocztowe-geo CSV (includes voivodeship + lat/lng).

22,090 codes, 100% state_id + 100% coords.

Refs: #1039

)

Adds Polish postcodes via the mberezinski/kody-pocztowe-geo mirror,
which includes voivodeship + coordinates for every code.

1. bin/scripts/sync/import_poland_postcodes.py — pipeline reading the
   semicolon-delimited UTF-8-BOM CSV. Resolves voivodeship via Polish
   name -> CSC iso2 alias map (16 voivodships).

2. contributions/postcodes/PL.json — 22,090 records, 100% state_id +
   100% coordinate resolution.

Validation (zero errors)
- All codes match countries.postal_code_regex (^\d{2}-\d{3}$)
- All FKs resolve, all state_codes agree with state.iso2

License & attribution
- Mirror: github.com/mberezinski/kody-pocztowe-geo
- Each row: source: 'kody-pocztowe-geo'

Refs: #1039

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 27, 2026 11:48
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

CSC Validation Report

PR Format

  • ✅ Description provided
  • ❌ Data source linked
  • ✅ Issue linked (recommended for data changes)
  • ✅ Justification / context provided

Labels applied: data:postcodes, large-contribution

⚠️ Large Contribution

This PR contains 22090 records. Large contributions require manual review.

Schema Validation (22090 records)

✅ All records passed validation

Cross-Reference Validation

✅ 44180 reference(s) verified

Geo-Bounds Check

✅ All 22090 coordinate(s) within expected country bounds


All checks passed | Status: Ready for review

@dosubot dosubot Bot added the enhancement New feature or request label Apr 27, 2026
@dr5hn dr5hn merged commit e3dc5f9 into master Apr 27, 2026
1 check passed
@dr5hn dr5hn deleted the feat/postcodes-poland-bulk branch April 27, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:postcodes enhancement New feature or request large-contribution ready-for-review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants