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.

11,855 schools & kindergartensView on mapnpm

Source: OpenStreetMap (ODbL), amenity=school + amenity=kindergarten

Install

npm install @geoalgeria/ecoles

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

API reference

NameSignatureDescription
ecolesecoles(): Ecole[]All 11,855 schools & kindergartens.
metadatametadata(): MetadataPackage metadata (counts by cycle/kind/sector, coverage, licences).

Record shape

FieldTypeNullableDescription
idstringnoStable id, `{wilaya}-{seq}` (e.g. "16-00042").
namestringyesBest available name (raw preferred, else FR/AR).
name_frstringyesFrench / Latin-script name.
name_arstringyesArabic name.
wilaya_codestringnoZero-padded ("01".."69").
commune_codestringyesgeoalgeria commune code.
communestringnoCommune (nearest-centroid join).
latnumbernoLatitude (WGS84).
lngnumbernoLongitude (WGS84).
geo_precisionGeoPrecisionnoSurveyed node vs. building centroid.
geo_methodGeoMethodnoHow the coordinates were derived.
sourceEcoleSourcenoProvenance (OpenStreetMap).
refsRefsnoExternal identifiers (OSM element id).
cycleEcoleCyclenoEducation cycle (inferred from isced:level + name).
cycle_label_frstringnoFrench label for the cycle.
cycle_label_arstringnoArabic label for the cycle.
kindEcoleKindnoEstablishment kind, orthogonal to cycle.
kind_label_frstringnoFrench label for the kind.
kind_label_arstringnoArabic label for the kind.
isced_levelsIscedLevelsyesISCED levels served, sorted list (e.g. "1;2").
sectorEcoleSectoryesOwnership, only when the map signals it.
addressstringyesSingle-line address from OSM addr:* tags.

Formats

JSONCSVGEOJSONTS

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

Related packages