This is a comprehensive list of cities from Morocco, and their Geolocation, Population, ID, etc. Users can retrieve data using APIs and/or GraphQL. Data source: GeoNames.
With the growing world of internet-based technology, it is getting essential to have geolocation and area-based information in different types of projects as it helps for various things such as authentication, verification, and addresses. For this purpose, having a database is one of the best ways to keep track of data.
In this database, there is information about all the cities, towns, and villages present in Morocco. There are about 1500 rows for keeping the knowledge of all cities. The data is always in the following way.
Morocco is locally divided into more than 1500 communes. Out of these, 256 are referred to as urban, and they have a commission for planning rural communes. The list here includes the municipalities with more than 50000 people according to the census of 2014. The list of 7major cities and their population that was published by the high commission is also in the database.
The database comes with ready to use APIs that have the following benefits for the developers.
The license for this database is "Creative Commons 4.0."
The following are the data sources for this database.