Algeria's Schools
@geoalgeria/ecoles
11,855 schools and kindergartens across all 69 wilayas from OpenStreetMap (ODbL): classified by cycle (4,019 primaire, 2,378 moyen/CEM, 1,576 secondaire/lycée, 268 préscolaire) and by kind (regular vs. language/Quranic/driving schools, training & special-needs centres). Bilingual FR/AR (8,635 named), with isced_levels, address and commune/wilaya linkage. The largest openly-geocoded school layer for Algeria.
Source: OpenStreetMap (ODbL), amenity=school + amenity=kindergarten
Install
npm install @geoalgeria/ecolesQuick example
import ecoles from "@geoalgeria/ecoles";
const all = ecoles.ecoles(); // 11,855 schools
const lycees = all.filter((e) => e.cycle === "secondaire"); // 1,574 lycées
const alger = all.filter((e) => e.wilaya_code === "16"); // schools in AlgiersAPI reference
| Name | Signature | Description |
|---|---|---|
ecoles | ecoles(): Ecole[] | All 11,855 schools & kindergartens. |
metadata | metadata(): Metadata | Package metadata (counts by cycle/kind/sector, coverage, licences). |
Record shape
| Field | Type | Nullable | Description |
|---|---|---|---|
id | string | no | Stable id, `{wilaya}-{seq}` (e.g. "16-00042"). |
name | string | yes | Best available name (raw preferred, else FR/AR). |
name_fr | string | yes | French / Latin-script name. |
name_ar | string | yes | Arabic name. |
wilaya_code | string | no | Zero-padded ("01".."69"). |
commune_code | string | yes | geoalgeria commune code. |
commune | string | no | Commune (nearest-centroid join). |
lat | number | no | Latitude (WGS84). |
lng | number | no | Longitude (WGS84). |
geo_precision | GeoPrecision | no | Surveyed node vs. building centroid. |
geo_method | GeoMethod | no | How the coordinates were derived. |
source | EcoleSource | no | Provenance (OpenStreetMap). |
refs | Refs | no | External identifiers (OSM element id). |
cycle | EcoleCycle | no | Education cycle (inferred from isced:level + name). |
cycle_label_fr | string | no | French label for the cycle. |
cycle_label_ar | string | no | Arabic label for the cycle. |
kind | EcoleKind | no | Establishment kind, orthogonal to cycle. |
kind_label_fr | string | no | French label for the kind. |
kind_label_ar | string | no | Arabic label for the kind. |
isced_levels | IscedLevels | yes | ISCED levels served, sorted list (e.g. "1;2"). |
sector | EcoleSector | yes | Ownership, only when the map signals it. |
address | string | yes | Single-line address from OSM addr:* tags. |
Formats
The npm package ships JSON. Other formats are available in each GitHub Release.
Related packages
@geoalgeria/enseignement-superieur177 higher-education institutions: universities, grandes ecoles, ENS and university centers, plus the licensed private and other-ministry institutions, across 51 wilayas.
@geoalgeria/jeunesse2,334 youth establishments: maisons de jeunes, auberges de jeunes, cultural centers, youth camps and more, with capacity, accessibility and operational status.
@geoalgeria/formation-professionnelle1,932 vocational training establishments: CFPA, INSFP, IFEP, IEP, DFEPs and private accredited centers across 58 wilayas.