Skip to content

[Bug]: Update Western Sahara to be included under Morocco #1329

@Mr-AXEL01

Description

@Mr-AXEL01

Issue Type

Incorrect Data (wrong information)

Location (if applicable)

Morrocan sahara

What's wrong?

Summary
This PR updates the database to reflect Morocco's administrative control over Western Sahara, in line with current international practices and official Moroccan administrative divisions.
Changes Made

Removed Western Sahara as separate country entry (ID: 244, ISO2: EH)
Added Western Sahara regions as Moroccan states under Morocco (ID: 149, ISO2: MA)
Migrated cities from Western Sahara to the appropriate Moroccan regions

Rationale

Morocco administers the territory as its "Southern Provinces"
Most international databases and services (including major tech companies, mapping services, and governmental systems) list these regions under Morocco
This aligns with UN recognition of Morocco's administrative authority over most of the territory
The currency is already correctly listed as MAD (Moroccan Dirham) in the current Western Sahara entry
The phone code is already 212 (Morocco's code)

What should it be?

Technical Details
States to be added to Morocco:

Laâyoune-Sakia El Hamra
Dakhla-Oued Ed-Dahab
Guelmim-Oued Noun

Affected Records:

Countries: Remove Western Sahara entry (ID: 244)
States: Add 3 new regions under Morocco (country_id: 149)
Cities: Update country_id from 244 to 149 for all Western Sahara cities

References

ISO 3166 Maintenance Agency
Moroccan Ministry of Interior administrative divisions
UN Morocco country profile

Source (optional)

https://www.govinfo.gov/content/pkg/FR-2020-12-15/pdf/2020-27738.pdf

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions