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.

74 coach stationsView on mapnpm

Source: SOGRAL — Société de Gestion des Gares Routières d'Algérie (live.sogral.com)

Install

npm install @geoalgeria/gares-routieres

Quick 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 19

API reference

NameSignatureDescription
stationsstations(): Station[]All 74 intercity bus stations.
stationByIdstationById(id): Station | nullOne station by id (e.g. "16-01").
stationsByWilayastationsByWilaya(code): Station[]Stations in a wilaya (numeric or zero-padded code).
metadatametadata(): MetadataPackage metadata (counts, source, licence).

Record shape

FieldTypeNullableDescription
idstringStable id, `{wilaya}-{seq}` (e.g. "16-01").
sogral_idnumberSOGRAL agency id (upstream key).
sogral_codestringyesSOGRAL location code (213-000{wilaya}{commune}).
namestringStation display name.
official_namestringyesOfficial gare name.
addressstringyesPostal address.
wilaya_codestringZero-padded ("01".."69"). Reconciled from SOGRAL’s legacy codes.
communestringyesCommune (nearest-centroid join).
commune_codenumberyesgeoalgeria commune code.
latnumberLatitude (WGS84).
lngnumberLongitude (WGS84).
geo_precision"exact" | "approx""approx" = commune-centroid fallback (Guelma).
surface_total_m2numberyesTotal surface area (m²).
surface_built_m2numberyesBuilt/covered surface area (m²).

Formats

JSONCSVGEOJSONTS

The npm package ships JSON. Other formats are available in each GitHub Release.

Related packages