Data v2 — one canonical record contract across every sector package (breaking schema overhaul). Every sector package now shares a single record shape defined by the new @geoalgeria/schema dependency, replacing the hand-written, drifted types/index.d.ts per package. Read [packages/schema/MIGRATING.md](https://github.com/yasserstudio/geoalgeria/blob/main/packages/schema/MIGRATING.md) before adopting 2.0.0 #116
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
2.0.0 - Data v2 — one canonical record contract across every sector package (breaking schema overhaul). Every sector package now shares a single record shape defined by the new @geoalgeria/schema dependency, replacing the hand-written, drifted types/index.d.ts per package. Read packages/schema/MIGRATING.md before adopting 2.0.0
@geoalgeria/gares-routieres (Algeria's intercity bus stations (SOGRAL)). Release
@geoalgeria/gares-routieres@2.0.0— this major update:wilaya_codeis a zero-padded string ("16", not16); commune linkage iscommune_code(string ONS code) +commune; coordinates arelat/lng; external ids collapse intorefs: { osm, wikidata, … };idis an opaque string unique within its file (no more global{sector}:{WW}-{seq}form). Every record ships in JSON, CSV and GeoJSON.geo_precision: strictlyexact | approximate | null, null if and only if the record has no coordinate; the old method vocabulary moved to a newgeo_methodfield under the same null-iff rule.exactnow requires ≥3 decimals and a point unique within its file — 409 records that could not carry that claim were downgraded toapproximate.retrieveddates; licence URLs only where the source is genuinely open,conditionsOfAccessprose otherwise. A rootindex.jsoncatalog and aschema.org/Datasetdescriptor ship alongside the data.geoalgeriadataset and@geoalgeria/telecompredate this contract and stay on their current v1 versions until migrated.Install / update:
CSV and GeoJSON bundles are attached to the release. Issues and corrections: open an issue.
npm: https://www.npmjs.com/package/@geoalgeria/gares-routieres · Release: https://github.com/yasserstudio/geoalgeria/releases/tag/%40geoalgeria%2Fgares-routieres%402.0.0
All reactions