Algeria's Intercity Bus Stations
@geoalgeria/gares-routieres
74 intercity bus stations (gares routières) across 51 wilayas — official names, addresses, coordinates (74/74 geocoded), surface areas and wilaya/commune linkage, from SOGRAL, the state operator of Algeria's coach stations.
Source: SOGRAL — Société de Gestion des Gares Routières d'Algérie (live.sogral.com)
Install
npm install @geoalgeria/gares-routieresQuick example
import gares from "@geoalgeria/gares-routieres";
const all = gares.stations(); // 74 stations
const alger = gares.stationById("16-01"); // Alger — Grands Invalides
const setif = gares.stationsByWilaya(19); // stations in wilaya 19API reference
| Name | Signature | Description |
|---|---|---|
stations | stations(): Station[] | All 74 intercity bus stations. |
stationById | stationById(id): Station | null | One station by id (e.g. "16-01"). |
stationsByWilaya | stationsByWilaya(code): Station[] | Stations in a wilaya (numeric or zero-padded code). |
metadata | metadata(): Metadata | Package metadata (counts, source, licence). |
Record shape
| Field | Type | Nullable | Description |
|---|---|---|---|
id | string | — | Stable id, `{wilaya}-{seq}` (e.g. "16-01"). |
sogral_id | number | — | SOGRAL agency id (upstream key). |
sogral_code | string | yes | SOGRAL location code (213-000{wilaya}{commune}). |
name | string | — | Station display name. |
official_name | string | yes | Official gare name. |
address | string | yes | Postal address. |
wilaya_code | string | — | Zero-padded ("01".."69"). Reconciled from SOGRAL’s legacy codes. |
commune | string | yes | Commune (nearest-centroid join). |
commune_code | number | yes | geoalgeria commune code. |
lat | number | — | Latitude (WGS84). |
lng | number | — | Longitude (WGS84). |
geo_precision | "exact" | "approx" | — | "approx" = commune-centroid fallback (Guelma). |
surface_total_m2 | number | yes | Total surface area (m²). |
surface_built_m2 | number | yes | Built/covered surface area (m²). |
Formats
The npm package ships JSON. Other formats are available in each GitHub Release.
Related packages
@geoalgeria/ferroviaire692 rail and urban-transit nodes across 50 wilayas — 427 rail, 190 tram, 41 metro, 24 aerial-tramway and 10 gondola — bilingual FR/AR, with operator (SNTF/SETRAM/SEMA), line membership and wilaya/commune linkage. A Wikidata (CC0) + OpenStreetMap (ODbL) composite.
@geoalgeria/busesUrban bus lines across Algeria — a multi-operator dataset starting with 50 ETUSA (Algiers) lines: termini, stop counts, and the communes and transit stations each line serves. Line-level attributes (v1); per-stop geometry to follow.
@geoalgeria/aviation33 civil airports with official names, ICAO codes, addresses, phone numbers, websites, and geographic coordinates.