Morocco cities list with latitude and longitude in CSV format

Morocco
Morocco
CSV, SQL, XML, JSON

Last update : 18 September 2024.

Country
Morocco
Capitale
Rabat
Number of cities
44879
Download

This is the best list of 44879 cities in the Morocco available in 4 formats ( CSV, Json, SQL, XML ). We have cleaned up the Geoname database to leave only the towns, capitals and villages. All are all associated with regions and sub-regions (where available).

Each file contains the following data: Geoname_ID, City, Alternate_Name, Country_Code, Region, Sub_region, Latitude, Longitude, Elevation, Population, Timezone, Fcode_Name. See the FAQ below for a detailed explanation.

Here is an example of the data from the Morocco file that you are going to retrieve. The data is displayed here in the form of a table:


Geoname_IDCityAlternate_NameCountry_CodeRegionSub_regionLatitudeLongitudeElevationPopulationTimezoneFcode_Name
10945607Tine BariMASouss-MassaChtouka-Ait-Baha30.16334-9.356330Africa/Casablancapopulated place
11734480Iggui-IouinguemMAMarrakesh-SafiEssaouira31.19756-9.409530Africa/Casablancapopulated place
10910141Douar BabbihMAMarrakesh-SafiKelaa-Des-Sraghna31.66473-7.511640Africa/Casablancapopulated place
2560291Aït BoudharAit Boudar,Ait Boudhar,Aït Boudar,Aït BoudharMABéni Mellal-KhénifraAzilal Province31.6906-6.840530Africa/Casablancapopulated place
2528599TiganimineTiganimin,TiganimineMATanger-Tetouan-Al HoceimaAl-Hoceima35.00957-3.987630Africa/Casablancapopulated place
2549538El MouaridDouar el Mouarid,El MouaridMAMarrakesh-SafiEssaouira31.61459-9.137580Africa/Casablancapopulated place
10951399AzragMABéni Mellal-KhénifraAzilal Province31.38643-6.898040Africa/Casablancapopulated place
2561679Douar AfzouAfzou,Douar AfzouMAFès-MeknèsTaza33.86884-3.948430Africa/Casablancapopulated place
2564833Mouisat SlimaneMAMarrakesh-SafiEssaouira31.59233-9.153630Africa/Casablancapopulated place
2559678Aït KhouyaMABéni Mellal-KhénifraAzilal Province32.0544-5.940950Africa/Casablancapopulated place
2544235LakhroutaDouar Khrouta,Khrouta,Khroutta Sdoud,LakhroutaMARabat-Salé-KénitraKenitra Province34.70125-6.174060Africa/Casablancapopulated place
2550463El Feïd El KhnabibEl Feid El Khnabib,El Feid el Rhnabib,El Feïd El Khnabib,El Feïd el RhnabibMASouss-MassaTiznit29.85991-9.752260Africa/Casablancapopulated place
10947180Douar EchorfaMAMarrakesh-SafiEssaouira31.66206-9.389570Africa/Casablancapopulated place
11734689TissalouineMAMarrakesh-SafiChichaoua31.15195-9.278110Africa/Casablancapopulated place
10985090Douar Oulad IchouMAFès-MeknèsTaounate34.32405-5.35050Africa/Casablancapopulated place
11735609Douar GribatMARabat-Salé-KénitraSidi-Kacem34.45662-5.534140Africa/Casablancapopulated place
10889525Id Ben El ArdiMAMarrakesh-SafiEssaouira30.99343-9.779720Africa/Casablancapopulated place
2568295Sidi Ali BoubkarSidi Ali Boubkar,Sidi Ali BoubkerMAMarrakesh-SafiEssaouira30.93912-9.502820Africa/Casablancapopulated place
2558280Amara Ben AmmouMAMarrakesh-SafiEssaouira31.78-9.050Africa/Casablancapopulated place
2553590Cha AliMATanger-Tetouan-Al HoceimaTetouan35.39173-5.285120Africa/Casablancapopulated place
11368338Rahhal El MellasMACasablanca-SettatSettat Province32.67476-7.735830Africa/Casablancapopulated place
2528168Timerhdat n’OuamiouMADrâa-TafilaletTinghir Province31.55-6.080Africa/Casablancapopulated place
10845031TakhemchantouMATanger-Tetouan-Al HoceimaChefchaouen Province35.00928-4.833150Africa/Casablancapopulated place
10993343Douar HarroudiyatMAFès-MeknèsTaounate34.18802-4.664170Africa/Casablancapopulated place
2559762Aït IghiwrAit Ighiwr,Ait Irhiour,Aït Ighiwr,Aït IrhiourMASouss-MassaTaroudannt29.94158-8.870270Africa/Casablancapopulated place
2549962Douar El KhaydarDouar El Khaydar,Douar el Khadir,El KhadirMAMarrakesh-SafiMarrakech31.58037-8.373780Africa/Casablancapopulated place
2550984Douar DrioukatDouar Brioukat,Douar Drioukat,DrioukatMAMarrakesh-SafiRehamna31.78862-7.674780Africa/Casablancapopulated place
10949013KetifatMAMarrakesh-SafiSafi32.08832-9.240250Africa/Casablancapopulated place
2552772Dar al Haj MejdoubDar al Haj Mejdoub,Dar el Haj Medjoub,Dar el Haj Mejdoub,Dar el Hajj MejdoubMACasablanca-SettatBerrechid Province33.38001-7.385130Africa/Casablancapopulated place
2540631OugassetOugasset,OugasseteMAFès-MeknèsTaounate34.5934-4.908130Africa/Casablancapopulated place
10962773Oulad SaadMAMarrakesh-SafiEssaouira31.80512-9.507110Africa/Casablancapopulated place
10997767Douar MaghraouaMAFès-MeknèsTaounate34.33732-4.531890Africa/Casablancapopulated place
11435758TilzatMABéni Mellal-KhénifraAzilal Province32.12639-6.480290Africa/Casablancapopulated place
11147731MgoutMAMarrakesh-SafiAl-Haouz30.96712-7.947120Africa/Casablancapopulated place
2553584Douar EchaabaAhl Chaibat,Ahl Châibat,Chaba,Chaibat,Chaïbat,Châba,Douar Ahal Chab,Douar Ahal Châb,Douar EchaabaMAMarrakesh-SafiKelaa-Des-Sraghna32.17153-7.660470Africa/Casablancapopulated place
10920931Oulad LaayouchiMARabat-Salé-KénitraSale34.10709-6.742490Africa/Casablancapopulated place
2548421LguissaGuissa,LguissaMARabat-Salé-KénitraKenitra Province34.89475-5.83650Africa/Casablancapopulated place
10375179TanoutannMASouss-MassaAgadir-Ida-ou-Tnan30.49479-9.496990Africa/Casablancapopulated place
2546829Iggui n’OuakkaIggim n’Ouakka,Iggim n’Ouakka,Iggui n’Ouakka,Iggui n’OuakkaMASouss-MassaTaroudannt30.72009-8.671430Africa/Casablancapopulated place
10375458Douar TighumoneMASouss-MassaAgadir-Ida-ou-Tnan30.84297-9.792410Africa/Casablancapopulated place
2544738Kasba Mohammed AmezianeAit M’hamed Imeziane,Aït M’hamed Iméziane,Kasba Mohammed AmezianeMAFès-MeknèsBoulemane33.52014-4.396050Africa/Casablancapopulated place
2558209AmadgharAmadghar,Amdrar,Amdrar n’ Oumdras,Amdrar n’ OumdrasMASouss-MassaTaroudannt30.31942-7.756790Africa/Casablancapopulated place
2543389Al HadajaAl Hadaja,Hadadja,Hadaja,Lalla Hadja,LhadajaMAMarrakesh-SafiKelaa-Des-Sraghna31.97123-7.224360Africa/Casablancapopulated place
11131357AmaounMASouss-MassaChtouka-Ait-Baha30.01485-9.002420Africa/Casablancapopulated place
11471520Azibou El HouariMACasablanca-SettatEl-Jadida33.10446-8.581120Africa/Casablancapopulated place
11736559Bab el KoudiatMAFès-MeknèsTaounate34.68462-4.329690Africa/Casablancapopulated place
11130490TagragraMASouss-MassaChtouka-Ait-Baha29.90142-9.230460Africa/Casablancapopulated place
10867541Douar MouaridMACasablanca-SettatSidi Bennour32.55214-8.488470Africa/Casablancapopulated place
11738003Oulad ’Ali Ben HaddouMAOrientalDriouch Province34.74206-3.427560Africa/Casablancapopulated place
10998816Douar Bni Yazzouni SghirMAOrientalOujda-Angad34.56962-2.15730Africa/Casablancapopulated place
2559624Aït al HiltAit Lelt,Ait al Hilt,Aït Lelt,Aït al HiltMASouss-MassaTaroudannt30.21618-8.794770Africa/Casablancapopulated place
11092751AnsayeneMAOrientalDriouch Province35.04611-3.400640Africa/Casablancapopulated place
11025158Douar EchebkaMAFès-MeknèsMeknes33.99756-5.255670Africa/Casablancapopulated place
11100549Id BalouchMAGuelmim-Oued NounSidi Ifni29.48387-9.968130Africa/Casablancapopulated place
11091749Dar AbdennbiMATanger-Tetouan-Al HoceimaAl-Hoceima34.99925-4.220510Africa/Casablancapopulated place
10843789Douar Amana IlilaMAFès-MeknèsBoulemane33.57411-4.620620Africa/Casablancapopulated place
2570654Douar Abd LiouachAbd el Liouech,Douar Abd LiouachMATanger-Tetouan-Al HoceimaTetouan35.61024-5.53970Africa/Casablancapopulated place
10997874Douar Erras LabyadMAFès-MeknèsTaounate34.18429-4.484470Africa/Casablancapopulated place
2565310LataounaAl `Atawna,Al ‘Atawna,LataounaMARabat-Salé-KénitraSidi-Kacem34.46285-6.079130Africa/Casablancapopulated place
10639097Oulad Taher BoubkerMAMarrakesh-SafiSafi32.30954-8.829750Africa/Casablancapopulated place
11355033Ch’ab NdaMAMarrakesh-SafiKelaa-Des-Sraghna31.96134-7.496170Africa/Casablancapopulated place
10963310Mohamed ou ’Abd ar RahmaneMAMarrakesh-SafiAl-Haouz31.24991-8.323780Africa/Casablancapopulated place
10898745Ait LahmarMAMarrakesh-SafiEssaouira31.60444-9.565190Africa/Casablancapopulated place
10977971Ait BougrineMAFès-MeknèsSefrou33.9093-4.713350Africa/Casablancapopulated place
11149377AmzriMAMarrakesh-SafiAl-Haouz31.15018-8.379260Africa/Casablancapopulated place
10913282Douar HmidaMAMarrakesh-SafiSafi31.92221-8.945090Africa/Casablancapopulated place
11130564Iggui-n-TanghourtMASouss-MassaChtouka-Ait-Baha29.90458-9.242930Africa/Casablancapopulated place
11130725Dou WawjMASouss-MassaChtouka-Ait-Baha29.7789-9.120060Africa/Casablancapopulated place
2559628Aït LbouwrAit Lbour,Ait Lbouwr,Aït Lbour,Aït LbouwrMABéni Mellal-KhénifraAzilal Province31.68774-6.722440Africa/Casablancapopulated place
11100979IzigharMAGuelmim-Oued NounSidi Ifni29.39069-9.77710Africa/Casablancapopulated place
10375219TaounitMASouss-MassaAgadir-Ida-ou-Tnan30.47935-9.432150Africa/Casablancapopulated place
2552709Dar HamadaDar Hamada,Dar Hammada,Dar Homada,Dar HoummadaMAOrientalTaourirt34.36654-2.64870Africa/Casablancapopulated place
2547088Id OurachId Ourach,Idorax,IduraxMAGuelmim-Oued NounSidi Ifni29.43-10.10Africa/Casablancapopulated place
2540424Oulad AbdellahDouar Ouled Abdallah,Oulad Abdallah,Oulad Abdellah,Ouled Abdallah,Ouled AbdellahMAMarrakesh-SafiChichaoua31.64265-8.574450Africa/Casablancapopulated place
2543241MâchatDouar el Maachat,Lemaachat Sidi Boudouma,Machat,MâchatMAMarrakesh-SafiSafi31.9385-9.37170Africa/Casablancapopulated place
11238830El GanzraMARabat-Salé-KénitraKhemisset34.05137-6.002840Africa/Casablancapopulated place
11435615TassekssoutMABéni Mellal-KhénifraAzilal Province32.04788-6.50880Africa/Casablancapopulated place
10971011ZitounMAMarrakesh-SafiAl-Haouz31.50956-8.175770Africa/Casablancapopulated place
10958594Douar IzakireneMATanger-Tetouan-Al HoceimaAl-Hoceima35.02662-3.873250Africa/Casablancapopulated place
2560419Aït AzzouzMADrâa-TafilaletMidelt32.83592-5.025210Africa/Casablancapopulated place
10946831Douar Ait Bou ReggaMAMarrakesh-SafiEssaouira31.60941-9.340750Africa/Casablancapopulated place
11708787Ighrem MkhatarMAFès-MeknèsIfrane33.34157-5.295810Africa/Casablancapopulated place
2553734BrahimateBrahimat,Brahimate,BrâhîmatMAOrientalNador35.01758-3.066630Africa/Casablancapopulated place
11354451Dar Aït BelhitMABéni Mellal-KhénifraAzilal Province31.70645-7.267970Africa/Casablancapopulated place
2565043Douar TaguiditeDouar Taguidite,TaguiditMATanger-Tetouan-Al HoceimaAl-Hoceima35.11989-4.165110Africa/Casablancapopulated place
2539173Oulad SnoussineDouar Snoussiyne,Oulad Snoussine,Snousiyne,SnoussiyneMAMarrakesh-SafiKelaa-Des-Sraghna31.98282-7.499490Africa/Casablancapopulated place
10960949Douar LaflalqaMARabat-Salé-KénitraKenitra Province34.4067-6.37220Africa/Casablancapopulated place
11042720Douar GouratMAFès-MeknèsTaounate34.35598-4.634050Africa/Casablancapopulated place
2526335ImaghatnImaghatn,Imarhaten,Imarhatèn,Zaouia ImarateneMASouss-MassaTata30.21651-7.158480Africa/Casablancapopulated place
10797974Douar Oulad Jilali Ben ZalitMACasablanca-SettatSettat Province33.01313-7.060750Africa/Casablancapopulated place
10940540Douar LegrinatMARabat-Salé-KénitraKhemisset33.64735-6.501980Africa/Casablancapopulated place
11041809Douar Ain SlouguiMAFès-MeknèsTaounate34.52558-5.166030Africa/Casablancapopulated place
2531084Talat n’SaïdTalat n’Said,Talat n’Saïd,Tolat Said,Tolat SaïdMAGuelmim-Oued NounSidi Ifni29.26397-9.588990Africa/Casablancapopulated place
2540371Oulad Ahmed MbarkMAMarrakesh-SafiChichaoua31.51-9.140Africa/Casablancapopulated place
11708484IghzafeneMAFès-MeknèsIfrane33.17314-5.097980Africa/Casablancapopulated place
10924307Dar Aït HadagMAMarrakesh-SafiEssaouira31.43397-9.351910Africa/Casablancapopulated place
2550221El HameinatMAMarrakesh-SafiEssaouira31.29015-9.303590Africa/Casablancapopulated place
2530670TanoudeneTamerabene,TanoudeneMATanger-Tetouan-Al HoceimaTetouan35.48286-5.20470Africa/Casablancapopulated place
10938369LemsandiyineMACasablanca-SettatBenslimane33.21161-7.118310Africa/Casablancapopulated place
10797812Douar Ait AhmedMARabat-Salé-KénitraKhemisset33.46003-6.759750Africa/Casablancapopulated place

FaQ about Morocco


Once you have placed your order, you can download the product straight away! You'll also immediately receive an order confirmation email in which you can download your product. Remember to check your spam.
Don't panic, just log back in to the site and click on "your account" in the menu. You'll be able to find all your orders and re-download them whenever you like.
Yes, of course, click here to retrieve an archive containing an extract of the 4 CSV, XML, JSON and SQL files for a country.
Absolutely! You can pay with paypal or stripe in total security.
  • Geoname_ID: This is a unique identifier for each place or geographical name in the Geoname database.
  • City: The name of the place, which can be a town, village or any other form of human settlement.
  • Alternate_Name: Other names or appellations that the place may have. These alternative names may be in different languages, dialects or even local names.
  • Country_Code: This is the ISO 3166-1 alpha-2 code for the country in which the place is located. For example, "US" for the United States, "FR" for France.
  • Region: This represents the first-order administrative division in which the location is situated. For example, this could be a state, province or territory.
  • Sub_region: This is a second-order administrative division, such as a county or district, within the region.
  • Latitude: The geographical latitude of the location, usually in decimal degrees.
  • Longitude: The geographical longitude of the location, also usually in decimal degrees.
  • Elevation: The elevation or altitude of the location in relation to sea level, usually measured in metres.
  • Population: The estimated number of inhabitants or population of the location.
  • Timezone: The time zone in which the location is located, in accordance with global time zone standards.
  • Fcode_Name: This is a code that categorises the type of location. For example, "PPL" could mean a populated place, while "PPLC" could be the capital of a political entity.
You will retrieve a .rar archive containing the country files in csv, sql, xml and json formats.
Yes, you'll be able to download the content you've purchased whenever you want, with no time limit.
Make sure your Internet connection is stable, as some files can be quite large and take a long time to download.
Unfortunately we don't offer files in excel format, but it's really very easy to convert a csv file into excel. There are a plethora of free online sites that allow you to do this, here are a few: click here to convert csv to excel

List of countries :

h2020-flow.eu

With the aim of delivering reliable information, based on quality sources such as Geoname, we, a team of passionate geographers, have created this site. To enable you to obtain databases at very competitive prices.