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.

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
idstringnoStable id, `{wilaya}-{seq}` (e.g. "16-01").
namestringnoStation display name.
wilaya_codestringnoZero-padded ("01".."69"). Reconciled from SOGRAL’s legacy codes.
commune_codestringnogeoalgeria commune code.
communestringnoCommune (nearest-centroid join).
latnumbernoLatitude (WGS84).
lngnumbernoLongitude (WGS84).
geo_precisionGeoPrecisionnoHow precisely the point is placed.
geo_methodGeoMethodnoHow the coordinates were derived.
source"sogral"noOrigin registry (SOGRAL).
refsRefsnoExternal identifiers (SOGRAL agency id).
official_namestringnoOfficial gare name.
addressstringnoPostal address.
surface_total_m2numbernoTotal surface area (m²).
surface_built_m2numbernoBuilt/covered surface area (m²).

Formats

JSONCSVGEOJSONTS

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

Related packages