The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. πŸ‡²πŸ‡¦ Morocco Cities and Towns
Public

19
54
19
54
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • GraphQL API Playground
    API Playground
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

  1. πŸ‡²πŸ‡¦ Morocco Cities and Towns

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.

  • Cities
  • Village
  • Africa
  • API
  • Morocco
  • Download
  • Villages
  • Towns
  • JSON
  • Population
  • Database
  • Geolocation
  • Dataset

Get StartedFetchΒ Data
ClassClassesDescription
ClassList_of_Morroco_cities
List of Morocco cities, towns, and villages
NotesNotes

Database with a list of cities and towns of Morocco

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.

Morocco Overview

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.

  • Name of the area in ASCII format.
  • The population of the place.
  • Geolocation of that place.
  • Elevation.
  • Time Zone used in that area.

Morocco's division

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 Ready to use APIs:

The database comes with ready to use APIs that have the following benefits for the developers.

  • Easy retrieval of data from database using APIs
  • Data can come from using REST API or GraphQL APIs.
  • The database downloading process is in JSON format after cloning it.

Some examples of the API:

  • List of the cities in Morocco.
  • Morocco cities listed by population.
  • The number of cities and towns in Morocco

License version:

The license for this database is "Creative Commons 4.0."

Data sources for this database:

The following are the data sources for this database.

  • Wikipedia.
  • https://www.geonames.org/

Other databases

  • List of cities of Greece
  • List of cities of Turkey
  • List of cities of Portugal