Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This repository contains the updated xml, json and SQL of wilayas and communes in algeria (69 wilayas).

Notifications You must be signed in to change notification settings

S450R1/algeria-cities-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Algeria Cities 2025 ๐Ÿ‡ฉ๐Ÿ‡ฟ

A comprehensive database of Algeria's administrative divisions, updated with the 2025 administrative reform that introduced 11 new wilayas.

What's Inside

  • 69 Wilayas (48 original + 10 from 2019 + 11 new from 2025)
  • 1,541 Communes with both Arabic and Latin names
  • Available in multiple formats: SQL, JSON, and XML

The New Wilayas (59-69)

The 2025 reform added these wilayas:

Code Wilaya Arabic
59 Aflou ุฃูู„ูˆ
60 El Abiodh Sidi Cheikh ุงู„ุฃุจูŠุถ ุณูŠุฏูŠ ุงู„ุดูŠุฎ
61 El Aricha ุงู„ุนุฑูŠุดุฉ
62 El Kantara ุงู„ู‚ู†ุทุฑุฉ
63 Barika ุจุฑูŠูƒุฉ
64 Bou Saada ุจูˆุณุนุงุฏุฉ
65 Bir El Ater ุจูŠุฑ ุงู„ุนุงุชุฑ
66 Ksar El Boukhari ู‚ุตุฑ ุงู„ุจุฎุงุฑูŠ
67 Ksar Chellala ู‚ุตุฑ ุงู„ุดู„ุงู„ุฉ
68 Ain Oussara ุนูŠู† ูˆุณุงุฑุฉ
69 Messaad ู…ุณุนุฏ

Files

โ”œโ”€โ”€ sql/
โ”‚   โ””โ”€โ”€ cities.sql          # PostgreSQL/MySQL compatible
โ”œโ”€โ”€ json/
โ”‚   โ””โ”€โ”€ cities.json         # Ready for APIs and web apps
โ””โ”€โ”€ xml/
    โ””โ”€โ”€ cities.xml          # For enterprise systems

Quick Start

SQL

-- Import into your database
psql your_database < sql/cities.sql

JSON

const data = require('./json/cities.json');
console.log(data.total_wilayas); // 69
console.log(data.total_communes); // 1541

XML

<!-- Root element contains metadata, wilayas, and communes -->
<algeria_administrative_divisions>
  <metadata>...</metadata>
  <wilayas>...</wilayas>
  <communes>...</communes>
</algeria_administrative_divisions>

Data Structure

Each commune has:

  • commune_id: Unique identifier (1-1541)
  • wilaya_id: Parent wilaya (1-69)
  • commune_name_arabic: Arabic name
  • commune_name_latin: Latin/French name

Notes

  • All data reflects the official 2025 administrative organization
  • Communes are properly reassigned to their new wilayas
  • Names include proper handling of special characters and apostrophes

License

Public domain. Use it however you want.


Made with โค๏ธ for Algeria

About

This repository contains the updated xml, json and SQL of wilayas and communes in algeria (69 wilayas).

Topics

Resources

Stars

Watchers

Forks