Algeria's Intercity Bus Stations
@geoalgeria/gares-routieres
74 intercity bus stations (gares routières) across 52 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 | no | Stable id, `{wilaya}-{seq}` (e.g. "16-01"). |
name | string | no | Station display name. |
wilaya_code | string | no | Zero-padded ("01".."69"). Reconciled from SOGRAL’s legacy codes. |
commune_code | string | no | geoalgeria commune code. |
commune | string | no | Commune (nearest-centroid join). |
lat | number | no | Latitude (WGS84). |
lng | number | no | Longitude (WGS84). |
geo_precision | GeoPrecision | no | How precisely the point is placed. |
geo_method | GeoMethod | no | How the coordinates were derived. |
source | "sogral" | no | Origin registry (SOGRAL). |
refs | Refs | no | External identifiers (SOGRAL agency id). |
official_name | string | no | Official gare name. |
address | string | no | Postal address. |
surface_total_m2 | number | no | Total surface area (m²). |
surface_built_m2 | number | no | 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/buses153 urban and suburban bus Lines across 14 Operator networks: Line identities, termini, the communes and transit Stations each Line serves, 1,603 indexed Stations, and published departure timetables where the Operator publishes them. Reusable geometry for 76 Lines comes from OpenStreetMap (ODbL).
@geoalgeria/aviation36 civil airports with official names, ICAO and IATA codes, addresses, phone numbers, websites, and geographic coordinates.