Algeria Civil Airports

@geoalgeria/aviation

36 civil airports with official names, ICAO and IATA codes, addresses, phone numbers, websites, and geographic coordinates.

36 civil airportsView on mapnpm

Source: ANAC (anac.dz) + OurAirports

Install

npm install @geoalgeria/aviation

Quick example

import aviation from "@geoalgeria/aviation";

const all = aviation.airports();                 // 36 airports
const algiers = aviation.airportByIcao("DAAG");  // Houari Boumediene
const tlemcen = aviation.airportByIata("TLM");   // by IATA, for flight feeds
const inOran = aviation.airportsByWilaya(31);

API reference

NameSignatureDescription
airportsairports(): Airport[]All 36 civil airports.
airportByIcaoairportByIcao(code: string): Airport | nullOne airport by ICAO code (case-insensitive).
airportByIataairportByIata(code: string): Airport | nullOne airport by IATA code (case-insensitive).
airportsByWilayaairportsByWilaya(code: string | number): Airport[]Airports in a wilaya (accepts "16", 16, or "01").
routesroutes(): Route[]Nonstop routes that are flying, seasonal, suspended or of unclear cadence. Excludes announced-but-not-yet-operating ones.
plannedRoutesplannedRoutes(): Route[]Announced but not yet operating routes, kept separate so an announcement is never counted as a served destination.
routeEndpointsrouteEndpoints(): RouteEndpoint[]Both ends of every route, including the foreign airports.
routesFromroutesFrom(code: string): Route[]Routes departing an airport, by IATA code (case-insensitive). Directional: departures only.
metadatametadata(): MetadataDataset metadata (counts, source, generated_at).

Record shape

FieldTypeNullableDescription
idstringnoICAO code, lowercased (e.g. "daag").
namestringnoOfficial airport name in French.
wilaya_codestringnoWilaya code, zero-padded to 2 digits ("01"-"69").
commune_codenullnoAlways null (airports carry no commune code).
communenullnoAlways null (airports carry no commune).
latnumbernoLatitude (WGS84).
lngnumbernoLongitude (WGS84).
geo_precision"exact"noCoordinates are exact points.
geo_methodGeoMethodnoHow the coordinates were derived.
source"anac" | "ourairports"noOrigin: ANAC, or OurAirports for the three airports ANAC omits.
refsRefsnoExternal identifiers (ICAO, IATA).
icaostringnoICAO (OACI) code (e.g. "DAAG").
iatastringyesIATA code. Populated on all 36 records; typed nullable so a future airport without one is not a breaking change.
addressstringyesPostal address as listed by ANAC. Null on the three OurAirports records, which have no contact fields upstream.
phonestringyesContact phone.
websitestringyesOfficial website URL. Null on the three OurAirports records.

Formats

JSONCSVGEOJSONTS

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

Related packages