add populate-locality-geojson script and 24 Sofia district boundaries#299
Merged
add populate-locality-geojson script and 24 Sofia district boundaries#299
Conversation
…ndaries\n\n- Fetch district boundaries from Sofia Urban Data API (sofiaplan.bg)\n- Save each district as individual GeoJSON FeatureCollection\n- Extract transliterate utility to ingest/lib/transliterate.ts\n- Use official Bulgarian Streamlined System 2009 transliteration\n- Add commander.js CLI pattern matching other ingest scripts\n- Add Vitest tests for transliterate function\n\nCloses #281"
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Sofia district boundary GeoJSON files and introduces a Bulgarian (Streamlined System 2009) transliteration utility with Vitest coverage, to support consistent ingest naming/lookup.
Changes:
- Added multiple Sofia district boundary GeoJSON FeatureCollections under
ingest/localities/. - Added
transliterate()utility implementing Bulgarian Streamlined System (2009). - Added Vitest tests verifying transliteration behavior for common district names and casing.
Reviewed changes
Copilot reviewed 13 out of 27 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| ingest/localities/bg.sofia.vazrazhdane.geojson | Adds Vazrazhdane district boundary and metadata |
| ingest/localities/bg.sofia.sredets.geojson | Adds Sredets district boundary and metadata |
| ingest/localities/bg.sofia.slatina.geojson | Adds Slatina district boundary and metadata |
| ingest/localities/bg.sofia.oborishte.geojson | Adds Oborishte district boundary and metadata |
| ingest/localities/bg.sofia.krasno-selo.geojson | Adds Krasno Selo district boundary and metadata |
| ingest/localities/bg.sofia.izgrev.geojson | Adds Izgrev district boundary and metadata |
| ingest/localities/bg.sofia.ilinden.geojson | Adds Ilinden district boundary and metadata |
| ingest/lib/transliterate.ts | Implements Bulgarian Cyrillic → Latin transliteration |
| ingest/lib/transliterate.test.ts | Adds Vitest coverage for transliteration rules |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #281